-
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.
* chore(SDK-3613) - Update AndroidPostImport - On android-wrapper reimport, remove old version of .androidlib before converting new one * Use .asset for CleverTap Settings (#69) * Fix create unitypackage (#70) * Run postprocessor only if not a package export * Rename meta files Rename meta files otherwise unity will create an empty folder when package is created * Mark the android-wrapper folder as Android Platform only * Update unitypackage --------- Co-authored-by: PJClevertap <[email protected]>
- Loading branch information
1 parent
9823101
commit 6a4a30e
Showing
8 changed files
with
226 additions
and
63 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
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
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,23 @@ | ||
using UnityEngine; | ||
|
||
[System.Serializable] | ||
public class CleverTapSettings : ScriptableObject | ||
{ | ||
public string CleverTapAccountId; | ||
public string CleverTapAccountToken; | ||
public string CleverTapAccountRegion; | ||
public bool CleverTapEnablePersonalization { get; set; } = true; | ||
public bool CleverTapDisableIDFV; | ||
|
||
public override string ToString() | ||
{ | ||
return $"CleverTapSettings:\n" + | ||
$"CleverTapAccountId: {CleverTapAccountId}\n" + | ||
$"CleverTapAccountToken: {CleverTapAccountToken}\n" + | ||
$"CleverTapAccountRegion: {CleverTapAccountRegion}\n" + | ||
$"CleverTapEnablePersonalization: {CleverTapEnablePersonalization}\n" + | ||
$"CleverTapDisableIDFV: {CleverTapDisableIDFV}"; | ||
} | ||
|
||
internal static readonly string settingsPath = "Assets/CleverTapSettings.asset"; | ||
} |
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
79 changes: 76 additions & 3 deletions
79
CleverTap/Plugins/Android/clevertap-android-wrapper.androidlib.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
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