-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using UnityEditor; | ||
|
||
class BuildAndroid { | ||
static void PerformBuild () { | ||
string[] scenes = { | ||
"Assets/_Scenes/MiniGame.unity", | ||
"Assets/_Scenes/MainMenu.unity" | ||
}; | ||
BuildPipeline.BuildPlayer (scenes, "Roll-A-Ball-Android.apk", BuildTarget.Android, BuildOptions.None); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using UnityEditor; | ||
|
||
class BuildIos { | ||
static void PerformBuild () { | ||
string[] scenes = { | ||
"Assets/_Scenes/MiniGame.unity", | ||
"Assets/_Scenes/MainMenu.unity" | ||
}; | ||
BuildPipeline.BuildPlayer (scenes, "iOS/Roll-A-Ball-Ios", BuildTarget.iOS, BuildOptions.None); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using UnityEngine; | ||
using System.Collections; | ||
using UnityEditor; | ||
using System; | ||
|
||
public class AppboySwitchPlatform : MonoBehaviour { | ||
|
||
static void SwitchToAndroid () { | ||
EditorUserBuildSettings.SwitchActiveBuildTarget (BuildTargetGroup.Android, BuildTarget.Android); | ||
} | ||
|
||
static void SwitchToIos () { | ||
EditorUserBuildSettings.SwitchActiveBuildTarget (BuildTargetGroup.iOS, BuildTarget.iOS); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CLIENT_ID</key> | ||
<string>523313722967-j3g1ha142hgr57dg9qmuk9vp20v4epf4.apps.googleusercontent.com</string> | ||
<key>REVERSED_CLIENT_ID</key> | ||
<string>com.googleusercontent.apps.523313722967-j3g1ha142hgr57dg9qmuk9vp20v4epf4</string> | ||
<key>API_KEY</key> | ||
<string>AIzaSyARGytGF2tbv_7breS-qAXTTqdp-39QXbo</string> | ||
<key>GCM_SENDER_ID</key> | ||
<string>523313722967</string> | ||
<key>PLIST_VERSION</key> | ||
<string>1</string> | ||
<key>BUNDLE_ID</key> | ||
<string>com.appboy.unity.AppboySample</string> | ||
<key>PROJECT_ID</key> | ||
<string>kitchen-sink-cbc5d</string> | ||
<key>STORAGE_BUCKET</key> | ||
<string>kitchen-sink-cbc5d.appspot.com</string> | ||
<key>IS_ADS_ENABLED</key> | ||
<false></false> | ||
<key>IS_ANALYTICS_ENABLED</key> | ||
<false></false> | ||
<key>IS_APPINVITE_ENABLED</key> | ||
<true></true> | ||
<key>IS_GCM_ENABLED</key> | ||
<true></true> | ||
<key>IS_SIGNIN_ENABLED</key> | ||
<true></true> | ||
<key>GOOGLE_APP_ID</key> | ||
<string>1:523313722967:ios:b545b7f459c982976c5512</string> | ||
<key>DATABASE_URL</key> | ||
<string>https://kitchen-sink-cbc5d.firebaseio.com</string> | ||
</dict> | ||
</plist> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:amazon="http://schemas.amazon.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
package="com.appboy.unity.AppboySample" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.WAKE_LOCK" /> | ||
<application android:label="@string/app_name" | ||
android:icon="@drawable/app_icon"> | ||
<amazon:enable-feature android:name="com.amazon.device.messaging" android:required="false"/> | ||
<service android:name="com.braze.push.BrazeFirebaseMessagingService" android:exported="false"> | ||
<intent-filter> | ||
<action android:name="com.google.firebase.MESSAGING_EVENT" /> | ||
</intent-filter> | ||
</service> | ||
|
||
<activity android:name="com.appboy.unity.AppboyUnityPlayerActivity" | ||
android:exported="true" | ||
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> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<receiver android:name="com.appboy.unity.AppboyUnityPushBroadcastReceiver" android:exported="false" > | ||
<intent-filter> | ||
<action android:name="com.braze.push.intent.NOTIFICATION_RECEIVED" /> | ||
<action android:name="com.braze.push.intent.NOTIFICATION_OPENED" /> | ||
<action android:name="com.braze.push.intent.NOTIFICATION_DELETED" /> | ||
</intent-filter> | ||
</receiver> | ||
<service android:name="com.google.firebase.messaging.MessageForwardingService" | ||
android:permission="android.permission.BIND_JOB_SERVICE" | ||
android:exported="false" > | ||
</service> | ||
</application> | ||
</manifest> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../Assets/Plugins/Android/appboy-ui.aar |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../Assets/Plugins/Android/appboy-unity.aar |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../Assets/Plugins/Android/appboy.aar |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M | ||
org.gradle.parallel=true | ||
android.enableR8=**MINIFY_WITH_R_EIGHT** | ||
unityStreamingAssets=.unity3d**STREAMING_ASSETS** | ||
**ADDITIONAL_PROPERTIES** | ||
android.useAndroidX=true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.