-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implemented GetAllInboxMessages for AndroidlatformBinding * [MC-1969] Implement ARP response handling (#86) * Added Discarded events validator * Implemented ARP caching and setting in header * Move ARP to meta in body. Load ARP on init. Process ARP before save. Fix prefs namespaces. * Load discarded events when user changes --------- Co-authored-by: Nikola Zagorchev <[email protected]> * [MC-1970] Implement _i and _j request parameters (#88) * Add MetaData interceptor to handle _i and _j * Check if the response or content is not null * Update constants --------- Co-authored-by: Nikola Zagorchev <[email protected]> * [MC-2064] Add Proxy and SpikyProxy Domain for Android and iOS platforms (#89) * Add LaunchWithCredentialsForProxyServer in Plugin, Clevertap and platformBindings * Add LaunchWithCredentialsForProxyServer in ClevertapUnityManager and platformBinding for iOS. * Рename performLaunchTask to initializeAndNotifyLaunch * Add proxy and spikyProxy to settings * Use LaunchWithCredentials on Native --------- Co-authored-by: Nikola Zagorchev <[email protected]> * Fix android launch with credentials and proxy (#91) * [MC-2113] File type variables for iOS and Android (#90) * Implement File variable changes * Update mobile SDKs * Update Variable and fix FileIsReady callbacks * Add iOS implementation --------- Co-authored-by: Nikola Zagorchev <[email protected]> * Define File variable fix (#95) * Define file variable fix * Change variable platform virtual methods * fix(MC-2358): Fix string variables on android always having default values * fix(MC-2374): Fix json messages send from Android Unity plugin (#97) * CleverTap iOS SDK update and editor update (#102) * Bump iOS version to 7.0.3 * Bump project version * chore(MC-2434): Update Android SDK to 7.0.3 (#103) * Example UI (#94) * Initial UI * Add KeyValue prefab * Make SDK version public * Make KeyValue texts clickable * Add AdHoc component * Increase font sizes * Build AdHoc programmatically * Add additional button to InputPanel * Update Tabs size and background * Update elements size * KeyValue refresh only element transform * Increase KeyValue font size * Add variables as key values in the UI * Add Logger * Add Account Id * Add File variables * Add Toast * Make Input field expand vertically * Add account name * Fix scroll view scroll with input fields * Update main scene * Set Canvas pixels per unit * Add rounded corners * Reorder screens * Increase target frame rate on mobile * Fix additional button vertical fit * Enable mouse wheel scroll, fix scroll over contentview (raycast) * Rename input field scroll fixer * Fix selection inside input * Add summary for custom scroll rect * Move scripts into folders * Change match width and height of main canvas * Use custom scroll rect on all scroll views and update contenviews * Make More menu scrollable * Add account region * Update toast * Use toasts * Add UnityIngameDebugConsole and show/hide option * Add logs and toasts * Move ButtonActionModel to separate file * Variables do not recreate components on restore * Android include dependencies for app inbox * Remove unused component * Update app initialization * Logger log errors * Rename project to CTExample, remove CleverTapTests, add UIElementsSchema * Rename namespace * Rename log * Update Unity version to 2022.3.50 * Update product name * Add Mobile Notifications package and enable notifications on iOS (#99) * Add firebase integration to Example UI Android project * Fix properties type --------- Co-authored-by: Vassil Angelov <[email protected]> Co-authored-by: Vassil Angelov <[email protected]> * Fix Android file var value (#104) * Release/4.1.0 (#105) * Update version and package * Update changelog and docs --------- Co-authored-by: Alok Kumar <[email protected]> Co-authored-by: Vassil Angelov <[email protected]>
- Loading branch information
1 parent
b6a2ab3
commit 1a0439c
Showing
306 changed files
with
29,439 additions
and
979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
plugins { | ||
// 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 | ||
id 'com.android.application' version '7.4.2' apply false | ||
id 'com.android.library' version '7.4.2' apply false | ||
id 'com.google.gms.google-services' version '4.4.2' apply false | ||
**BUILD_SCRIPT_DEPS** | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
7 changes: 7 additions & 0 deletions
7
CTExample/Assets/Plugins/Android/baseProjectTemplate.gradle.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'com.google.gms.google-services' | ||
|
||
dependencies { | ||
implementation project(':unityLibrary') | ||
implementation(platform("com.google.firebase:firebase-bom:31.0.0")) | ||
implementation("com.google.firebase:firebase-messaging") | ||
} | ||
|
||
android { | ||
namespace "**NAMESPACE**" | ||
ndkPath "**NDKPATH**" | ||
|
||
compileSdkVersion **APIVERSION** | ||
buildToolsVersion '**BUILDTOOLS**' | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
|
||
defaultConfig { | ||
minSdkVersion **MINSDKVERSION** | ||
targetSdkVersion **TARGETSDKVERSION** | ||
applicationId '**APPLICATIONID**' | ||
ndk { | ||
abiFilters **ABIFILTERS** | ||
} | ||
versionCode **VERSIONCODE** | ||
versionName '**VERSIONNAME**' | ||
} | ||
|
||
aaptOptions { | ||
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') | ||
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" | ||
}**SIGN** | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
minifyEnabled **MINIFY_DEBUG** | ||
proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** | ||
jniDebuggable true | ||
} | ||
release { | ||
minifyEnabled **MINIFY_RELEASE** | ||
proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** | ||
} | ||
}**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS** | ||
**BUILT_APK_LOCATION** | ||
bundle { | ||
language { | ||
enableSplit = false | ||
} | ||
density { | ||
enableSplit = false | ||
} | ||
abi { | ||
enableSplit = true | ||
} | ||
} | ||
}**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP** |
7 changes: 7 additions & 0 deletions
7
CTExample/Assets/Plugins/Android/launcherTemplate.gradle.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
apply plugin: 'com.android.library' | ||
**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.viewpager:viewpager:1.0.0' | ||
implementation 'com.google.android.material:material:1.4.0' | ||
implementation 'com.github.bumptech.glide:glide:4.12.0' | ||
|
||
// Optional ExoPlayer Libraries for CleverTap Audio/Video Inbox Messages. | ||
// Audio/Video messages will be dropped without these dependencies | ||
implementation "com.google.android.exoplayer:exoplayer:2.19.1" | ||
implementation "com.google.android.exoplayer:exoplayer-hls:2.19.1" | ||
implementation "com.google.android.exoplayer:exoplayer-ui:2.19.1" | ||
|
||
// 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" | ||
**DEPS**} | ||
|
||
android { | ||
namespace "com.unity3d.player" | ||
ndkPath "**NDKPATH**" | ||
|
||
compileSdkVersion **APIVERSION** | ||
buildToolsVersion '**BUILDTOOLS**' | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
|
||
defaultConfig { | ||
minSdkVersion **MINSDKVERSION** | ||
targetSdkVersion **TARGETSDKVERSION** | ||
ndk { | ||
abiFilters **ABIFILTERS** | ||
} | ||
versionCode **VERSIONCODE** | ||
versionName '**VERSIONNAME**' | ||
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** | ||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
|
||
aaptOptions { | ||
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') | ||
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" | ||
}**PACKAGING_OPTIONS** | ||
} | ||
**IL_CPP_BUILD_SETUP** | ||
**SOURCE_BUILD_SETUP** | ||
**EXTERNAL_SOURCES** |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.