Is READ_GSERVICES permission still required for Google Maps?

前端 未结 2 616
礼貌的吻别
礼貌的吻别 2021-01-17 07:44

To add Google Maps to your android application, you need to include a few permissions:




        
2条回答
  •  盖世英雄少女心
    2021-01-17 08:12

    All permissions you need for Google Maps Android API are in the docs:

    You must also request the android.permission.WRITE_EXTERNAL_STORAGE permission.

    Note: If you're targeting the Android M SDK (23) and the latest version of the Google Play services SDK (8.1), you no longer need the WRITE_EXTERNAL_STORAGE.

    From the next release of the Google Play services SDK, the requirement for the WRITE_EXTERNAL_STORAGE permission will be completely dropped from the Google Maps Android API.

    So the answer is NO, you don't need it if you use current latest GPS, i.e. 8.1.0.

提交回复
热议问题