#12467 On Android M, display a warning when needed services are disabled

Closed Created by @smartrace - 1 comment

From @smartrace 02.05.2016, 07:49
Users should be warned if Location is disabled as it is needed on Android 6 (M).

- Add app.platform.js for platform specific code
- Check if device.platform is Android and device.version is >= 6
- Use cordova.plugins.diagnostic
- Check isLocationEnabled()
- If not, open dialog by using switchtolocationsettings()
#1 From @smartrace 06.05.2016, 22:23 Owner
Added for 2.0.2

You need to be logged in to add a comment.

  • Created by

    @smartrace
    02.05.2016, 07:49

  • Type

    Bug

  • State

    Closed

  • Priority

    high

  • Product

    SmartRace