
… common approach is to wait until the user takes the relevant action before asking for permissions. The advantage here is that since the app is asking in-context, users are more likely to accept. For example, an app may ask for location when the user taps on the “current location” button, or a…
…that mimicked its native applications in functionality, but came at a significantly lighter weight. Using tiny libraries and SVGs instead of images where possible, the m.uber.com core app is only 50 kB gzipped and loads in less than three seconds — on 2G networks!