@nativescript-community/perms
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [2.2.2](https://github.com/nativescript-community/perms/compare/v2.2.1...v2.2.2) (2022-01-10) | ||
**Note:** Version bump only for package @nativescript-community/perms | ||
## [2.2.1](https://github.com/nativescript-community/perms/compare/v2.2.0...v2.2.1) (2022-01-10) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@nativescript-community/perms", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "An unified permissions API for NativeScript on iOS and Android.", | ||
@@ -35,3 +35,3 @@ "main": "./permissions", | ||
"readmeFilename": "README.md", | ||
"gitHead": "97d317d55f72755c505759989364e3c5db331782" | ||
"gitHead": "2a43fd40f931e451666c09af2cb1dbbf776bfc45" | ||
} |
@@ -218,3 +218,5 @@ import { Trace } from '@nativescript/core'; | ||
androidApp.on(AndroidApplication.activityResultEvent, onActivityResultHandler); | ||
activity.startActivityForResult(new android.content.Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS), 5140); | ||
const intent = new android.content.Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS); | ||
intent.setData(android.net.Uri.parse("package:" + activity.getPackageName())); | ||
activity.startActivityForResult(intent, 5140); | ||
}); | ||
@@ -221,0 +223,0 @@ } |
Sorry, the diff of this file is not supported yet
111178
1214