cordova-kemtai-plugin
v1.0.43
Published
Open android activity from plugin
Downloads
9
Readme
CordovaOpenNewActicvity
To Open a new activity from ionic cordova application
Call Below function from ionic ts file
window['plugins'].newActivityPlugin.new_activity('value',function(res){ console.log("Response Data : "+res) },function(err){ console.log("Response Data : "+err); });
Instruction
- minSdk : 26
- Camera permission should be handled by app
- The following has to be added to 'AndroidManifest.xml' file inside the 'application' tag:
<provider android:authorities="${applicationId}.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
</provider>