Skip to content

Commit

Permalink
Merge pull request #28 from blueshift-labs/development
Browse files Browse the repository at this point in the history
Release v0.0.3
  • Loading branch information
ketanshikharebsft authored Aug 22, 2022
2 parents 715b24e + 0dc0b38 commit fc6b343
Show file tree
Hide file tree
Showing 28 changed files with 1,115 additions and 1,358 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@

# Generated by Cordova
**platforms**

# Omit plugins folder inside sample-app
**plugins**
15 changes: 8 additions & 7 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="blueshift-cordova-plugin" version="0.0.2"
<plugin id="blueshift-cordova-plugin" version="0.0.3"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Blueshift</name>
Expand Down Expand Up @@ -39,7 +39,7 @@
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="BlueShift-iOS-SDK" spec="~> 2.1.17" />
<pod name="BlueShift-iOS-SDK" spec="~> 2.2.6" />
</pods>
</podspec>

Expand All @@ -53,10 +53,10 @@
<platform name="android">
<!-- CLI variables for accepting API key and optional lib versions. -->
<preference name="BSFT_EVENT_API_KEY" />
<preference name="BSFT_SDK_VERSION" default="3.2.0"/>
<preference name="GSON_VERSION" default="2.8.6"/>
<preference name="FIREBASE_CORE_VERSION" default="16.0.6"/>
<preference name="FIREBASE_MESSAGING_VERSION" default="17.3.4"/>
<preference name="BSFT_SDK_VERSION" default="3.3.0"/>
<preference name="GSON_VERSION" default="2.8.9"/>
<preference name="FIREBASE_CORE_VERSION" default="17.4.4"/>
<preference name="FIREBASE_MESSAGING_VERSION" default="20.3.0"/>

<config-file parent="/*" target="config.xml">
<preference name="GradlePluginGoogleServicesEnabled" value="true" />
Expand All @@ -74,11 +74,12 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- Optional -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> <!-- Optional -->
</config-file>

<source-file src="src/android/BlueshiftPlugin.java" target-dir="src/com/blueshift/cordova" />

<framework src="com.blueshift:android-sdk:$BSFT_SDK_VERSION"/>
<framework src="com.blueshift:android-sdk-x:$BSFT_SDK_VERSION"/>
<framework src="com.google.code.gson:gson:$GSON_VERSION"/>
<framework src="com.google.firebase:firebase-core:$FIREBASE_CORE_VERSION"/>
<framework src="com.google.firebase:firebase-messaging:$FIREBASE_MESSAGING_VERSION"/>
Expand Down
7 changes: 5 additions & 2 deletions sample-app/CordovaSampleApp/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@
<preference name="com.blueshift.config.in_app_interval_seconds" value="30"/>
<preference name="com.blueshift.config.in_app_background_fetch_enabled" value="true"/>
<preference name="com.blueshift.config.in_app_manual_mode_enabled" value="false"/>
<preference name="com.blueshift.config.device_id_source" value="BlueshiftDeviceIdSourceIDFV"/>
<preference name="com.blueshift.config.device_id_source" value="BlueshiftDeviceIdSourceUUID"/>
<preference name="com.blueshift.config.batch_interval_seconds" value="30"/>
<preference name="com.blueshift.config.auto_app_open_enabled" value="true"/>
<preference name="com.blueshift.config.auto_app_open_interval_seconds" value="30"/>
<preference name="com.blueshift.config.debug_enabled" value="true"/>
<preference name="com.blueshift.config.debug_logs_enabled" value="true"/>
<preference name="com.blueshift.config.app_group_id" value="group.blueshift.reads"/>
<preference name="com.blueshift.config.silent_push_enabled" value="true"/>
<preference name="com.blueshift.config.region" value="US"/>
<preference name="com.blueshift.config.sdk_coredata_files_location" value="Library"/>
<preference name="allowFileAccessFromFileURLs" value="true" />
<preference name="allowUniversalAccessFromFileURLs" value="true" />
<preference name="com.blueshift.config.debug_logs_enabled" value="true"/>
</widget>
Loading

0 comments on commit fc6b343

Please sign in to comment.