4.2.0 • Published 2 months ago

cordova-plugin-prizor-sdk v4.2.0

Weekly downloads
12
License
MIT
Repository
-
Last release
2 months ago

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_USERNAME and MAVEN_PRIZOR_PASSWORD

2nd option: replace the entreis username and password with 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

    FlutterPluginRegistrant and permission_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-sdk
4.2.0

2 months ago

4.1.0

4 months ago

3.6.6

9 months ago

3.6.9

7 months ago

3.6.8

7 months ago

3.6.7

8 months ago

3.7.1

6 months ago

3.7.0

7 months ago

3.6.5

12 months ago

3.6.4

1 year ago

3.6.3

1 year ago

3.6.2

1 year ago

3.6.1

1 year ago

3.6.0

1 year ago

3.5.5

1 year ago

3.5.4

1 year ago

3.5.3

1 year ago

3.5.2

1 year ago

3.5.1

1 year ago

3.5.0

2 years ago

3.4.3

2 years ago

3.4.0

2 years ago

3.4.2

2 years ago

3.3.3

2 years ago

3.4.1

2 years ago

3.3.2

2 years ago

3.3.0

3 years ago

3.2.5

3 years ago

3.3.0-hotfix1

3 years ago

3.2.4

3 years ago

3.2.3

3 years ago

3.2.2

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

3.1.8

3 years ago

3.1.7

3 years ago

3.1.6

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.1.3

3 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.2-8.2

4 years ago

3.0.2-8.1

4 years ago

3.0.28

4 years ago