cordova-plugin-prizor-sdk v4.7.0
Prizor SDK Cordova Plugin
iOS and Android native integration for Prizor SDK
Check Prizor SDK plugin Android params
Maven repository credentials
Replace the properties username and password at file cordova-plugin-prizor-sdk/src/android/plugin.gradle with the credentials received:
repositories {
maven {
url "https://maven.prizor.com/"
credentials {
username System.getenv('MAVEN_PRIZOR_USERNAME') ?: "username"
password System.getenv('MAVEN_PRIZOR_PASSWORD') ?: "password"
}
}
maven {
url 'https://storage.googleapis.com/download.flutter.io'
}
}1st option: set environment variables
MAVEN_PRIZOR_USERNAMEandMAVEN_PRIZOR_PASSWORD2nd option: replace the entreis
usernameandpasswordwith the credentials received
Use the last SDK version
Replace the dependencies version with the last found here
dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
releaseImplementation 'com.prizor:flutter_release:X.X.X'
debugImplementation 'com.prizor:flutter_debug:X.X.X'
}Allow Prizor to request the opening of other apps on the user's device by adding the tag in the AndroidManifest.xml:
...
<queries>
<package android:name="com.whatsapp" />
<package android:name="com.whatsapp.w4b" />
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.DIAL" />
<data android:scheme="tel" />
</intent>
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>Check Prizor SDK plugin iOS params
Use the last frameworks version
Add/Replace the frameworks at cordova-plugin-prizor-sdk/src/ios/frameworks/ with the last found here at Framework iOS (zip) link
Open cordova-plugin-prizor-sdk/plugin.xml and make sure that all frameworks inside path cordova-plugin-prizor-sdk/src/ios/frameworks/ are registered at sessions:
- Static frameworks
FlutterPluginRegistrantandpermission_handler - Dynamic frameworks
all other frameworks
Install/Refresh Prizor SDK plugin
Add cordova-plugin-prizor-sdk cordova plugin, pointing to plugin path:
cordova plugin rm cordova-plugin-prizor-sdk
cordova plugin add --link ../cordova-plugin-prizor-sdk8 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago