-
Notifications
You must be signed in to change notification settings - Fork 197
Locations: Probably should be updated to require permissions at runtime on Android 6+ #1
Comments
I using a MockLocation to test the code, but notification is not coming. |
Hello: I am in the process of doing a pull request for this but in order to test that the permission request and grant/denial are working correctly, I had to update the target version in each LocationLesson module build.gradle files and these files are in the master .gitignore for the repo. How should I handle the commit/push in this case? Melanie |
@JeetuPal did you figure it out? |
You can find information on how to request permission for Android 6.0+ (API level 23+) here: |
This is my MainActivity.java with the added permissions: package com.example.android.location2_1; import android.Manifest; import com.google.android.gms.common.ConnectionResult; public class MainActivity extends AppCompatActivity implements
} |
I can send a pull request with additional code if needed and then you can check it/merge it.
The text was updated successfully, but these errors were encountered: