@purchasely/cordova-plugin-purchasely 2.3.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+
3
+ cordova plugin remove @purchasely/cordova-plugin-purchasely
4
+ cordova plugin remove @purchasely/cordova-plugin-puchasely-google
5
+ cordova platform remove android
6
+ cordova platform add android@12.0.1
7
+ cordova plugin add ../ --link
8
+ cordova plugin add ../../purchasely-google/ --link
@@ -17,7 +17,7 @@
17
17
  <allow-intent href="geo:*" />
18
18
  <platform name="android">
19
19
  <allow-intent href="market:*" />
20
- <preference name="AndroidXEnabled" value="true" />
20
+ <preference name="GradlePluginKotlinEnabled" value="true" />
21
21
  <!--<edit-config
22
22
  file="AndroidManifest.xml"
23
23
  target="/manifest/application/activity[@android:name='cordova.plugin.purchasely.PLYProductActivity']"
package/example/ios.sh ADDED
@@ -0,0 +1,16 @@
1
+ #!/bin/bash
2
+
3
+ cordova plugin remove @purchasely/cordova-plugin-purchasely
4
+ cordova platform remove ios
5
+ cordova platform add ios@7.0.1
6
+ cordova plugin add ../ --link
7
+
8
+ if [[ $1 = true ]]
9
+ then
10
+ echo "Remove podfile"
11
+ rm platforms/ios/Podfile.lock
12
+ echo "Pod repo update"
13
+ pod repo update
14
+ echo "Installing Purchasely SDK"
15
+ pod install --project-directory=platforms/ios
16
+ fi