Skip to content

Commit

Permalink
Updating Unity plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Bucimis committed Aug 10, 2018
1 parent cc71c2c commit d2dddcf
Show file tree
Hide file tree
Showing 27 changed files with 135 additions and 22,128 deletions.
9 changes: 2 additions & 7 deletions Assets/Plugins/Android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Permissions for GCM -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission android:name="REPLACE_WITH_YOUR_BUNDLE_IDENTIFIER.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="REPLACE_WITH_YOUR_BUNDLE_IDENTIFIER.permission.C2D_MESSAGE" />

<!-- Permissions for ADM -->
<permission android:name="REPLACE_WITH_YOUR_BUNDLE_IDENTIFIER.permission.RECEIVE_ADM_MESSAGE" android:protectionLevel="signature" />
Expand All @@ -22,7 +17,7 @@
android:debuggable="true">
<amazon:enable-feature android:name="com.amazon.device.messaging" android:required="false"/>

<activity android:name="com.appboy.unity.AppboyUnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="sensor">
<activity android:name="com.appboy.unity.AppboyUnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="sensor">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
<intent-filter>
Expand All @@ -49,4 +44,4 @@
</intent-filter>
</receiver>
</application>
</manifest>
</manifest>
Binary file modified Assets/Plugins/Android/libs/appboy-ui.aar
Binary file not shown.
Binary file modified Assets/Plugins/Android/libs/appboy-unity.aar
Binary file not shown.
Binary file modified Assets/Plugins/Android/libs/appboy.aar
Binary file not shown.
Binary file removed Assets/Plugins/Android/libs/livedata-core-1.1.0.aar
Binary file not shown.
Binary file removed Assets/Plugins/Android/libs/runtime-1.1.0.aar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Assets/Plugins/Android/libs/viewmodel-1.1.0.aar
Binary file not shown.
6 changes: 3 additions & 3 deletions Assets/Plugins/Android/res/values/appboy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<!-- General configuration -->
<string name="com_appboy_api_key">REPLACE_WITH_YOUR_BRAZE_API_KEY</string>

<!-- GCM Push Notification configuration (optional) -->
<bool name="com_appboy_push_gcm_messaging_registration_enabled">true</bool> <!-- Whether or not Braze should handle registering the device to receive GCM push notifications. Default is false. -->
<string name="com_appboy_push_gcm_sender_id">REPLACE_WITH_YOUR_GCM_SENDER_ID</string> <!-- Replace with your gcm sender ID. The sender ID is your Google API project number. -->
<!-- FCM Push Notification configuration (optional) -->
<bool translatable="false" name="com_appboy_firebase_cloud_messaging_registration_enabled">true</bool>
<string translatable="false" name="com_appboy_firebase_cloud_messaging_sender_id">REPLACE_WITH_YOUR_FCM_SENDER_ID</string>

<!-- ADM Push Notification configuration (optional) -->
<bool name="com_appboy_push_adm_messaging_registration_enabled">true</bool> <!-- Whether or not Braze should handle registering the device to receive ADM push notifications. Default is false. -->
Expand Down
Loading

0 comments on commit d2dddcf

Please sign in to comment.