Skip to content

Commit

Permalink
Release 6.2.0 (#101)
Browse files Browse the repository at this point in the history
Release 6.2.0
  • Loading branch information
ChaseApptentive authored Apr 17, 2023
1 parent 7aa7e98 commit 394627c
Show file tree
Hide file tree
Showing 86 changed files with 923 additions and 163,791 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
npm-debug.log
/node_modules

# NPM
package-lock.json

# Cordova
/platforms
/plugins

# Idea
/.idea
/src/android/.idea

# res
resources/signing
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@

This document lets you know what has changed in the Cordova plugin. For changes in each version of the native SDKs, please see:

- [Android Changelog](https://github.com/apptentive/apptentive-android/blob/master/CHANGELOG.md)
- [Android Changelog](https://github.com/apptentive/apptentive-kit-android/blob/master/CHANGELOG.md)
- [iOS Changelog](https://github.com/apptentive/apptentive-kit-ios/blob/master/CHANGELOG.md)

# 2023-04-17 - v6.2.0

- Apptentive Android SDK: 6.0.4
- Apptentive iOS SDK: 6.1.0

# 2023-02-08 - v6.1.0

Expand Down
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apptentive-cordova",
"version": "6.1.0",
"version": "6.2.0",
"description": "Apptentive Plugin For Cordova",
"cordova": {
"id": "apptentive-cordova",
Expand All @@ -19,12 +19,10 @@
"cordova-android",
"cordova-ios"
],
"engines": [
{
"name": "cordova",
"version": ">=3.6.0"
}
],
"engines": {
"cordova": ">=10.0.1",
"cordova-android": ">=9.0.0"
},
"author": "Apptentive",
"license": "BSD",
"bugs": {
Expand Down
67 changes: 45 additions & 22 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,39 @@
<description>Apptentive Plugin For Cordova</description>
<keywords>apptentive</keywords>
<engines>
<engine name="cordova" version=">=3.6.0"/>
<engine name="cordova" version=">=10.0.1"/>
<engine name="cordova-android" version=">=9.0.0"/>
</engines>

<!-- android -->
<platform name="android">
<!-- Require API key -->
<preference name="ANDROID_APP_KEY"/>
<preference name="ANDROID_APP_SIGNATURE"/>

<!-- Apptentive Configuration Items -->
<preference name="ANDROID_INHERIT_APP_THEME" default="true"/>
<preference name="ANDROID_LOG_LEVEL" default="info"/>
<preference name="ANDROID_USES_DEVICE_ENCRYPTION" default="false"/>
<preference name="ANDROID_SANITIZE_LOG_MESSAGES" default="true"/>
<preference name="ANDROID_CUSTOM_APP_STORE_URL" default=" "/>
<preference name="ANDROID_RATING_INTERACTION_THROTTLE_LENGTH" default="604800000"/>

<!-- Define namespace for javascript reference -->
<js-module src="www/ApptentiveAndroid.js" name="Apptentive">
<clobbers target="Apptentive"/>
</js-module>

<!-- Add dependencies -->

<!-- Setup Cordova config.xml file -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ApptentiveBridge">
<param name="android-package" value="com.apptentive.cordova.ApptentiveBridge"/>
</feature>
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinVersion" value="1.7.20" />

<feature name="ApptentiveBridge">
<param name="android-package" value="com.apptentive.cordova.ApptentiveBridge"/>
</feature>
</config-file>

<!-- Setup Android Manifest file for plugin -->
<config-file target="AndroidManifest.xml" parent="/*">
<!-- Make sure to support high resolution screens so Apptentive's UI looks great. -->
<supports-screens android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/>
Expand All @@ -38,15 +46,18 @@
<config-file target="AndroidManifest.xml" parent="application">
<meta-data android:name="apptentive_key" android:value="$ANDROID_APP_KEY"/>
<meta-data android:name="apptentive_signature" android:value="$ANDROID_APP_SIGNATURE"/>
<meta-data android:name="apptentive_uses_encryption" android:value="$ANDROID_USES_DEVICE_ENCRYPTION"/>
</config-file>
<config-file target="./res/values/strings.xml" parent="/resources">
<string name="apptentive_distribution">Cordova</string>
<string name="apptentive_distribution_version">6.1.0</string>
<meta-data android:name="apptentive_log_level" android:value="$ANDROID_LOG_LEVEL"/>
<meta-data android:name="apptentive_inherit_app_theme" android:value="$ANDROID_INHERIT_APP_THEME"/>
<meta-data android:name="apptentive_uses_encryption" android:value="$ANDROID_USES_DEVICE_ENCRYPTION"/>
<meta-data android:name="apptentive_custom_app_store_url" android:value="$ANDROID_CUSTOM_APP_STORE_URL"/>
<meta-data android:name="apptentive_sanitize_log_messages" android:value="$ANDROID_SANITIZE_LOG_MESSAGES"/>
<meta-data android:name="apptentive_rating_interaction_throttle_length" android:value="$ANDROID_RATING_INTERACTION_THROTTLE_LENGTH"/>
</config-file>
<framework src="com.apptentive:apptentive-android:5.8.4"/>
<source-file src="src/android/ApptentiveBridge.java" target-dir="src/com/apptentive/cordova"/>
<source-file src="src/android/JsonHelper.java" target-dir="src/com/apptentive/cordova"/>

<framework src="com.apptentive:apptentive-kit-android:6.0.4"/>
<source-file src="src/android/ApptentiveBridge.kt" target-dir="app/src/main/kotlin/com/apptentive/cordova"/>
<source-file src="src/android/JsonHelper.kt" target-dir="app/src/main/kotlin/com/apptentive/cordova"/>
<source-file src="src/android/Util.kt" target-dir="app/src/main/kotlin/com/apptentive/cordova"/>
</platform>


Expand All @@ -56,6 +67,9 @@
<preference name="IOS_APP_KEY"/>
<preference name="IOS_APP_SIGNATURE"/>

<!-- Apptentive Configuration Items -->
<preference name="IOS_SANITIZE_LOG_MESSAGES" default="true"/>

<js-module src="www/ApptentiveIos.js" name="Apptentive">
<clobbers target="Apptentive"/>
</js-module>
Expand All @@ -74,16 +88,17 @@
<string>$IOS_APP_SIGNATURE</string>
</config-file>

<config-file target="*-Info.plist" parent="ApptentiveSanitizeLogMessages">
<string>$IOS_SANITIZE_LOG_MESSAGES</string>
</config-file>

<config-file target="*-Info.plist" parent="ApptentivePluginVersion">
<string>6.1.0</string>
<string>6.2.0</string>
</config-file>

<!-- ApptentiveBridge -->
<header-file src="src/ios/ApptentiveBridge.h" target-dir="Apptentive"/>
<source-file src="src/ios/ApptentiveBridge.m" target-dir="Apptentive"/>

<!-- Apptentive SDK -->
<resource-file src="src/ios/ApptentiveStyles.plist"/>
<header-file src="src/ios/ApptentiveBridge-Bridging-Header.h" type="BridgingHeader"/>
<source-file src="src/ios/ApptentiveBridge.swift" target-dir="Apptentive"/>

<!-- required system frameworks -->
<framework src="Accelerate.framework" weak="true"/>
Expand All @@ -95,7 +110,15 @@
<framework src="Storekit.framework" weak="true"/>
<framework src="SystemConfiguration.framework" weak="true"/>
<framework src="UIKit.framework" weak="true"/>
<framework src="src/ios/ApptentiveKit.xcframework" embed="true" custom="true"/>

<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="ApptentiveKit" spec="~> 6.1.0" swift-version="5" />
</pods>
</podspec>
</platform>

</plugin>
Loading

0 comments on commit 394627c

Please sign in to comment.