-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
- Loading branch information
There are no files selected for viewing
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.
This file was deleted.
This file was deleted.
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.
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.
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,36 @@ | ||
allprojects { | ||
buildscript { | ||
repositories {**ARTIFACTORYREPOSITORY** | ||
google() | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
// If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity | ||
// See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html | ||
// See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle | ||
// To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version | ||
classpath 'com.android.tools.build:gradle:3.4.0' | ||
**BUILD_SCRIPT_DEPS** | ||
} | ||
} | ||
|
||
repositories {**ARTIFACTORYREPOSITORY** | ||
google() | ||
jcenter() | ||
maven { | ||
url 'https://maven.pkg.github.com/deltaDNA/android-sdk' | ||
credentials { | ||
username = "omur-deltadna" | ||
password = "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" | ||
} | ||
} | ||
flatDir { | ||
dirs "${project(':unityLibrary').projectDir}/libs" | ||
} | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.deltadna.android.sdk.notifications.unity"> | ||
<application> | ||
<service android:name="com.deltadna.android.sdk.notifications.NotificationListenerService" android:enabled="false"> | ||
<service android:name="com.deltadna.android.sdk.notifications.NotificationListenerService" android:enabled="true"> | ||
<intent-filter> | ||
<action android:name="com.google.firebase.MESSAGING_EVENT" /> | ||
</intent-filter> | ||
</service> | ||
<meta-data android:name="ddna_sender_id" android:resource="@string/ddna_sender_id" /> | ||
<meta-data android:name="ddna_fcm_api_key" android:resource="@string/ddna_fcm_api_key" /> | ||
<meta-data android:name="ddna_application_id" android:resource="@string/ddna_application_id" /> | ||
<meta-data android:name="ddna_fcm_project_id" android:resource="@string/ddna_fcm_project_id" /> | ||
</application> | ||
</manifest> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
<resources /> | ||
<resources> | ||
<string name="ddna_application_id">1:3185998592:android:f8cfe35d6825f6f8af51e5</string> | ||
<string name="ddna_sender_id">3185998592</string> | ||
<string name="ddna_fcm_project_id">deltadna-dev</string> | ||
<string name="ddna_fcm_api_key">AIzaSyCzjaIBsecb09zp_Y7Njac9bnLzirQWMbM</string> | ||
</resources> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M | ||
org.gradle.parallel=true | ||
**ADDITIONAL_PROPERTIES** | ||
|
||
android.useAndroidX = true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
apply plugin: 'com.android.library' | ||
**APPLY_PLUGINS** | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation 'com.deltadna.android:deltadna-sdk-notifications:4.13.4' | ||
**DEPS**} | ||
|
||
android { | ||
compileSdkVersion **APIVERSION** | ||
buildToolsVersion '**BUILDTOOLS**' | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
defaultConfig { | ||
minSdkVersion **MINSDKVERSION** | ||
targetSdkVersion **TARGETSDKVERSION** | ||
ndk { | ||
abiFilters **ABIFILTERS** | ||
} | ||
versionCode **VERSIONCODE** | ||
versionName '**VERSIONNAME**' | ||
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** | ||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
|
||
aaptOptions { | ||
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" | ||
}**PACKAGING_OPTIONS** | ||
}**REPOSITORIES** | ||
**IL_CPP_BUILD_SETUP** | ||
**SOURCE_BUILD_SETUP** | ||
**EXTERNAL_SOURCES** |
This file was deleted.