-
Notifications
You must be signed in to change notification settings - Fork 4
Unity 6 support #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Unity 6 support #194
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
apply plugin: 'com.android.library' | ||
apply from: '../shared/keepUnitySymbols.gradle' | ||
**APPLY_PLUGINS** | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
// MANDATORY for CleverTap App Inbox | ||
implementation 'androidx.appcompat:appcompat:1.3.1' | ||
implementation 'androidx.recyclerview:recyclerview:1.2.1' | ||
implementation 'androidx.appcompat:appcompat:1.7.0' | ||
implementation 'androidx.recyclerview:recyclerview:1.3.2' | ||
implementation 'androidx.viewpager:viewpager:1.0.0' | ||
implementation 'com.google.android.material:material:1.4.0' | ||
implementation 'com.google.android.material:material:1.12.0' | ||
implementation 'com.github.bumptech.glide:glide:4.12.0' | ||
|
||
// Optional ExoPlayer Libraries for CleverTap Audio/Video Inbox Messages. | ||
|
@@ -17,20 +18,21 @@ dependencies { | |
implementation "com.google.android.exoplayer:exoplayer-ui:2.19.1" | ||
|
||
// Optional CleverTap push templates | ||
implementation 'com.clevertap.android:push-templates:1.2.4' | ||
implementation 'com.clevertap.android:push-templates:1.4.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Confirm transitive FCM version pulled by
Pro-tip: add an explicit Firebase BoM line here so that the version is deterministic, or document the expected range. 🤖 Prompt for AI Agents
|
||
|
||
// Optional AndroidX Media3 Libraries for CleverTap Audio/Video Inbox Messages. | ||
// Audio/Video messages will be dropped without these dependencies | ||
// implementation "androidx.media3:media3-exoplayer:1.1.1" | ||
// implementation "androidx.media3:media3-exoplayer-hls:1.1.1" | ||
// implementation "androidx.media3:media3-ui:1.1.1" | ||
// implementation "androidx.media3:media3-exoplayer:1.4.0" | ||
// implementation "androidx.media3:media3-exoplayer-hls:1.4.0" | ||
// implementation "androidx.media3:media3-ui:1.4.0" | ||
**DEPS**} | ||
|
||
android { | ||
namespace "com.unity3d.player" | ||
ndkVersion "**NDKVERSION**" | ||
namespace "com.unity3d.player" | ||
ndkPath "**NDKPATH**" | ||
|
||
compileSdkVersion **APIVERSION** | ||
compileSdk **APIVERSION** | ||
buildToolsVersion '**BUILDTOOLS**' | ||
|
||
compileOptions { | ||
|
@@ -39,24 +41,26 @@ android { | |
} | ||
|
||
defaultConfig { | ||
minSdkVersion **MINSDKVERSION** | ||
targetSdkVersion **TARGETSDKVERSION** | ||
**DEFAULT_CONFIG_SETUP** | ||
minSdk **MINSDK** | ||
targetSdk **TARGETSDK** | ||
ndk { | ||
debugSymbolLevel **DEBUGSYMBOLLEVEL** | ||
abiFilters **ABIFILTERS** | ||
} | ||
Comment on lines
+44
to
50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
🤖 Prompt for AI Agents
|
||
versionCode **VERSIONCODE** | ||
versionName '**VERSIONNAME**' | ||
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** | ||
} | ||
|
||
lintOptions { | ||
lint { | ||
abortOnError false | ||
} | ||
|
||
aaptOptions { | ||
androidResources { | ||
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') | ||
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" | ||
}**PACKAGING_OPTIONS** | ||
}**PACKAGING** | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Placeholder rename may break the post-processor
Search the Unity post-build replacer scripts ( 🤖 Prompt for AI Agents
|
||
} | ||
**IL_CPP_BUILD_SETUP** | ||
**SOURCE_BUILD_SETUP** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure auxiliary Gradle scripts are included in the repo
setupSymbols.gradle
and../shared/keepUnitySymbols.gradle
are now applied but are not part of Unity’s default template. Missing files will halt the Gradle sync.If they’re generated at build time, document the generation step; otherwise commit them.
🤖 Prompt for AI Agents