trying to launch an app via package manager on Android 12. The code works for Android 8 and 9 but not for 12
I am using Nativescript 8.4 and I am trying to launch an application that does a very specific task. The following code works correctly on Android 8 and 9 but not on version 12:
How to write file to external Android storage from Nativescript
I want to export file to /sdcard/Documents/ or /storage/emulated/0/Documents/
I have needed permission on application declaration
(nativescript) Utils.android.getApplicationContext().checkSelfPermission(‘storage’) always return false
my manifest
How to copy file from /data/user/0/package/file to public folders, such as Documents, Download (Android, Nativescript)
I try to use package https://github.com/pierreamgabriel/nativescript-android-fs but this package not workable
Attempt to use
string base64 on Android (nativescript)
I try to use
(1) atob() and btoa() – functions mission
(2) node Buffer – functions also missing
(3) native Android decoder – getBytes function mission
Module not found: Error: Can’t resolve ‘nativescript-permissions’
I try to use filePicker https://github.com/prabudevarrajan/nativescript-plugin-filepicker
and receive error:
Module not found: Error: Can’t resolve ‘nativescript-permissions’ in ‘…’
but package https://www.npmjs.com/package/nativescript-permissions is disabled.