eddieowens / react-native-boundary

Native implementation of geofencing/region monitoring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pemission issue

Sudhakar91221 opened this issue · comments

Hi Team
Please update the library for Android 13 and above version fix.

After Adding below facing some another issue
final int flag = Build.VERSION.SDK_INT >= Build.VERSION_CODES.M ? PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE : PendingIntent.FLAG_UPDATE_CURRENT;
mBoundaryPendingIntent = PendingIntent.getBroadcast(getReactApplicationContext(), 0, intent, flag);

package Manifest does not exist
int permission = ActivityCompat.checkSelfPermission(getReactApplicationContext(), Manifest.permission.ACCESS_FINE_LOCATION);

buildToolsVersion = "33.0.2"
minSdkVersion = 25
compileSdkVersion = 33
targetSdkVersion = 33

As per play store guidelines need to update the compile ands target sdk versions to 33

Please share the fix for this issue @eddieowens @harshit-kishor2