react-native-idosdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/IdoSdkRN.podspec +27 -0
  2. package/README.md +96 -0
  3. package/android/build.gradle +57 -0
  4. package/android/libs/getui-3.3.11.0.jar +0 -0
  5. package/android/libs/gtc-3.2.18.0.jar +0 -0
  6. package/android/proguard.txt +37 -0
  7. package/android/src/main/AndroidManifest.xml +100 -0
  8. package/android/src/main/java/com/getui/reactnativegetui/DemoPushService.java +7 -0
  9. package/android/src/main/java/com/getui/reactnativegetui/GetuiLogger.java +26 -0
  10. package/android/src/main/java/com/getui/reactnativegetui/GetuiModule.java +346 -0
  11. package/android/src/main/java/com/getui/reactnativegetui/GetuiPackage.java +42 -0
  12. package/android/src/main/java/com/getui/reactnativegetui/PushIntentService.java +110 -0
  13. package/document/android.md +112 -0
  14. package/document/iOS.md +299 -0
  15. package/document/img/ios_1.jpeg +0 -0
  16. package/gradlew +160 -0
  17. package/gradlew.bat +90 -0
  18. package/index.d.ts +32 -0
  19. package/index.js +120 -0
  20. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/Info.plist +55 -0
  21. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeDirectory +0 -0
  22. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeRequirements +0 -0
  23. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
  24. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeResources +548 -0
  25. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeSignature +0 -0
  26. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/GTCountSDK +0 -0
  27. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/Headers/GTCountSDK.h +145 -0
  28. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/Info.plist +0 -0
  29. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/Modules/module.modulemap +5 -0
  30. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/PrivacyInfo.xcprivacy +44 -0
  31. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeDirectory +0 -0
  32. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeRequirements +0 -0
  33. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
  34. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeResources +147 -0
  35. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeSignature +0 -0
  36. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/GTCountSDK +0 -0
  37. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/Headers/GTCountSDK.h +145 -0
  38. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/Info.plist +52 -0
  39. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/Modules/module.modulemap +5 -0
  40. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/PrivacyInfo.xcprivacy +44 -0
  41. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeDirectory +0 -0
  42. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeRequirements +0 -0
  43. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
  44. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeResources +147 -0
  45. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeSignature +0 -0
  46. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/GTCountSDK +0 -0
  47. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/Headers/GTCountSDK.h +145 -0
  48. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/Info.plist +0 -0
  49. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/Modules/module.modulemap +5 -0
  50. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/PrivacyInfo.xcprivacy +44 -0
  51. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeDirectory +0 -0
  52. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeRequirements +0 -0
  53. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
  54. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeResources +147 -0
  55. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeSignature +0 -0
  56. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/RCTGetuiIdoModule.h +23 -0
  57. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/RCTGetuiIdoModule.m +279 -0
  58. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule.xcodeproj/project.pbxproj +288 -0
  59. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  60. package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  61. package/package.json +55 -0
  62. package/postInstall.js +79 -0
package/gradlew ADDED
@@ -0,0 +1,160 @@
1
+ #!/usr/bin/env bash
2
+
3
+ ##############################################################################
4
+ ##
5
+ ## Gradle start up script for UN*X
6
+ ##
7
+ ##############################################################################
8
+
9
+ # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10
+ DEFAULT_JVM_OPTS=""
11
+
12
+ APP_NAME="Gradle"
13
+ APP_BASE_NAME=`basename "$0"`
14
+
15
+ # Use the maximum available, or set MAX_FD != -1 to use that value.
16
+ MAX_FD="maximum"
17
+
18
+ warn ( ) {
19
+ echo "$*"
20
+ }
21
+
22
+ die ( ) {
23
+ echo
24
+ echo "$*"
25
+ echo
26
+ exit 1
27
+ }
28
+
29
+ # OS specific support (must be 'true' or 'false').
30
+ cygwin=false
31
+ msys=false
32
+ darwin=false
33
+ case "`uname`" in
34
+ CYGWIN* )
35
+ cygwin=true
36
+ ;;
37
+ Darwin* )
38
+ darwin=true
39
+ ;;
40
+ MINGW* )
41
+ msys=true
42
+ ;;
43
+ esac
44
+
45
+ # Attempt to set APP_HOME
46
+ # Resolve links: $0 may be a link
47
+ PRG="$0"
48
+ # Need this for relative symlinks.
49
+ while [ -h "$PRG" ] ; do
50
+ ls=`ls -ld "$PRG"`
51
+ link=`expr "$ls" : '.*-> \(.*\)$'`
52
+ if expr "$link" : '/.*' > /dev/null; then
53
+ PRG="$link"
54
+ else
55
+ PRG=`dirname "$PRG"`"/$link"
56
+ fi
57
+ done
58
+ SAVED="`pwd`"
59
+ cd "`dirname \"$PRG\"`/" >/dev/null
60
+ APP_HOME="`pwd -P`"
61
+ cd "$SAVED" >/dev/null
62
+
63
+ CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64
+
65
+ # Determine the Java command to use to start the JVM.
66
+ if [ -n "$JAVA_HOME" ] ; then
67
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68
+ # IBM's JDK on AIX uses strange locations for the executables
69
+ JAVACMD="$JAVA_HOME/jre/sh/java"
70
+ else
71
+ JAVACMD="$JAVA_HOME/bin/java"
72
+ fi
73
+ if [ ! -x "$JAVACMD" ] ; then
74
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75
+
76
+ Please set the JAVA_HOME variable in your environment to match the
77
+ location of your Java installation."
78
+ fi
79
+ else
80
+ JAVACMD="java"
81
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82
+
83
+ Please set the JAVA_HOME variable in your environment to match the
84
+ location of your Java installation."
85
+ fi
86
+
87
+ # Increase the maximum file descriptors if we can.
88
+ if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89
+ MAX_FD_LIMIT=`ulimit -H -n`
90
+ if [ $? -eq 0 ] ; then
91
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92
+ MAX_FD="$MAX_FD_LIMIT"
93
+ fi
94
+ ulimit -n $MAX_FD
95
+ if [ $? -ne 0 ] ; then
96
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
97
+ fi
98
+ else
99
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100
+ fi
101
+ fi
102
+
103
+ # For Darwin, add options to specify how the application appears in the dock
104
+ if $darwin; then
105
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106
+ fi
107
+
108
+ # For Cygwin, switch paths to Windows format before running java
109
+ if $cygwin ; then
110
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112
+ JAVACMD=`cygpath --unix "$JAVACMD"`
113
+
114
+ # We build the pattern for arguments to be converted via cygpath
115
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116
+ SEP=""
117
+ for dir in $ROOTDIRSRAW ; do
118
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
119
+ SEP="|"
120
+ done
121
+ OURCYGPATTERN="(^($ROOTDIRS))"
122
+ # Add a user-defined pattern to the cygpath arguments
123
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125
+ fi
126
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
127
+ i=0
128
+ for arg in "$@" ; do
129
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131
+
132
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134
+ else
135
+ eval `echo args$i`="\"$arg\""
136
+ fi
137
+ i=$((i+1))
138
+ done
139
+ case $i in
140
+ (0) set -- ;;
141
+ (1) set -- "$args0" ;;
142
+ (2) set -- "$args0" "$args1" ;;
143
+ (3) set -- "$args0" "$args1" "$args2" ;;
144
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150
+ esac
151
+ fi
152
+
153
+ # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154
+ function splitJvmOpts() {
155
+ JVM_OPTS=("$@")
156
+ }
157
+ eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158
+ JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159
+
160
+ exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
package/gradlew.bat ADDED
@@ -0,0 +1,90 @@
1
+ @if "%DEBUG%" == "" @echo off
2
+ @rem ##########################################################################
3
+ @rem
4
+ @rem Gradle startup script for Windows
5
+ @rem
6
+ @rem ##########################################################################
7
+
8
+ @rem Set local scope for the variables with windows NT shell
9
+ if "%OS%"=="Windows_NT" setlocal
10
+
11
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
+ set DEFAULT_JVM_OPTS=
13
+
14
+ set DIRNAME=%~dp0
15
+ if "%DIRNAME%" == "" set DIRNAME=.
16
+ set APP_BASE_NAME=%~n0
17
+ set APP_HOME=%DIRNAME%
18
+
19
+ @rem Find java.exe
20
+ if defined JAVA_HOME goto findJavaFromJavaHome
21
+
22
+ set JAVA_EXE=java.exe
23
+ %JAVA_EXE% -version >NUL 2>&1
24
+ if "%ERRORLEVEL%" == "0" goto init
25
+
26
+ echo.
27
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28
+ echo.
29
+ echo Please set the JAVA_HOME variable in your environment to match the
30
+ echo location of your Java installation.
31
+
32
+ goto fail
33
+
34
+ :findJavaFromJavaHome
35
+ set JAVA_HOME=%JAVA_HOME:"=%
36
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
+
38
+ if exist "%JAVA_EXE%" goto init
39
+
40
+ echo.
41
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42
+ echo.
43
+ echo Please set the JAVA_HOME variable in your environment to match the
44
+ echo location of your Java installation.
45
+
46
+ goto fail
47
+
48
+ :init
49
+ @rem Get command-line arguments, handling Windowz variants
50
+
51
+ if not "%OS%" == "Windows_NT" goto win9xME_args
52
+ if "%@eval[2+2]" == "4" goto 4NT_args
53
+
54
+ :win9xME_args
55
+ @rem Slurp the command line arguments.
56
+ set CMD_LINE_ARGS=
57
+ set _SKIP=2
58
+
59
+ :win9xME_args_slurp
60
+ if "x%~1" == "x" goto execute
61
+
62
+ set CMD_LINE_ARGS=%*
63
+ goto execute
64
+
65
+ :4NT_args
66
+ @rem Get arguments from the 4NT Shell from JP Software
67
+ set CMD_LINE_ARGS=%$
68
+
69
+ :execute
70
+ @rem Setup the command line
71
+
72
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
+
74
+ @rem Execute Gradle
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76
+
77
+ :end
78
+ @rem End local scope for the variables with windows NT shell
79
+ if "%ERRORLEVEL%"=="0" goto mainEnd
80
+
81
+ :fail
82
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
+ rem the _cmd.exe /c_ return code!
84
+ if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
+ exit /b 1
86
+
87
+ :mainEnd
88
+ if "%OS%"=="Windows_NT" endlocal
89
+
90
+ :omega
package/index.d.ts ADDED
@@ -0,0 +1,32 @@
1
+
2
+
3
+ export default class GetuiIdo {
4
+ static startSdk(appid: string, channel: string): void;
5
+
6
+ static gtcid(cb: (param: string) => void): void;
7
+
8
+ static version(cb: (param: string) => void): void;
9
+
10
+ static setDebugEnable(isEnable: boolean): void;
11
+
12
+ static setApplicationGroupIdentifier(identifier: string): void;
13
+
14
+ static setSessionTime(time: number): void;
15
+
16
+ static setMinAppActiveDuration(val: number);
17
+
18
+ static setEventUploadInterval(val: number);
19
+ static setEventForceUploadSize(val: number);
20
+ static setProfileUploadInterval(val: number);
21
+ static setProfileForceUploadSize(val: number);
22
+ static setUserId(val: string);
23
+ static setSyncGenerateGtcid(val: boolean);
24
+ static registerEventProperties(val: Map);
25
+
26
+
27
+ static trackCustomKeyValueEventBegin(eventId:string);
28
+ static trackCustomKeyValueEventEnd(eventId:string, args:Map, ext:string);
29
+ static trackCountEvent(eventId:string, args:Map, ext:string);
30
+ static setProfile(profiles:Map, ext:string)
31
+
32
+ }
package/index.js ADDED
@@ -0,0 +1,120 @@
1
+ import {
2
+ NativeModules,
3
+ Platform
4
+ } from 'react-native';
5
+
6
+ const GetuiIdoModule = NativeModules.GetuiIdoModule;
7
+
8
+ /**
9
+ * Logs message to console with the [Getui] prefix
10
+ * @param {string} message
11
+ */
12
+ const log = (message) => {
13
+ console.log(`[Getui] ${message}`);
14
+ }
15
+
16
+ export default class Getui {
17
+ //监听消息通知
18
+ // var { NativeAppEventEmitter } = require('react-native');
19
+ // var receiveRemoteNotificationSub = NativeAppEventEmitter.addListener(
20
+ // 'receiveRemoteNotification',
21
+ // (notification) => {
22
+ // //消息类型分为 APNs 和 payload 透传消息,具体的消息体格式会有差异
23
+ // switch (notification.type) {
24
+ // case "apns":
25
+ // Alert.alert('APNs 消息通知',JSON.stringify(notification))
26
+ // break;
27
+ // case "payload":
28
+ // Alert.alert('payload 消息通知',JSON.stringify(notification))
29
+ // break;
30
+ // default:
31
+ // }
32
+ // }
33
+ // );
34
+ //
35
+ // var clickRemoteNotificationSub = NativeAppEventEmitter.addListener(
36
+ // 'clickRemoteNotification',
37
+ // (notification) => {
38
+ // Alert.alert('点击通知',JSON.stringify(notification))
39
+ // }
40
+ // );
41
+ //
42
+
43
+ // //记得在 componentWillUnMount 移除监听
44
+ // receiveRemoteNotificationSub.remove()
45
+ // clickRemoteNotificationSub.remove()
46
+
47
+ /**
48
+ * 初始化推送服务 只有Android, IOS在AppDelegate中初始化
49
+ */
50
+ static startSdk(appid, channel){
51
+ GetuiIdoModule.startSdk(appid, channel);
52
+ }
53
+
54
+ /**
55
+ * 获取SDK的Cid
56
+ *
57
+ * @return Cid值
58
+ */
59
+ static gtcid(cb) {
60
+ GetuiIdoModule.gtcid((param)=>{
61
+ cb(param)
62
+ });
63
+ }
64
+ static version(cb) {
65
+ GetuiIdoModule.version((param)=>{
66
+ cb(param)
67
+ });
68
+ }
69
+ static setDebugEnable(isEnable) {
70
+ GetuiIdoModule.setDebugEnable(isEnable);
71
+ }
72
+
73
+ static setApplicationGroupIdentifier(idnetifier) {
74
+ GetuiIdoModule.setApplicationGroupIdentifier(identifier);
75
+ }
76
+
77
+ static setSessionTime(time) {
78
+ GetuiIdoModule.setSessionTime(time);
79
+ }
80
+
81
+ static setMinAppActiveDuration(val) {
82
+ GetuiIdoModule.setMinAppActiveDuration(val);
83
+ }
84
+
85
+ static setEventUploadInterval(val) {
86
+ GetuiIdoModule.setEventUploadInterval(val);
87
+ }
88
+ static setEventForceUploadSize(val) {
89
+ GetuiIdoModule.setEventForceUploadSize(val);
90
+ }
91
+ static setProfileUploadInterval(val) {
92
+ GetuiIdoModule.setProfileUploadInterval(val);
93
+ }
94
+ static setProfileForceUploadSize(val) {
95
+ GetuiIdoModule.setProfileForceUploadSize(val);
96
+ }
97
+ static setUserId(val) {
98
+ GetuiIdoModule.setUserId(val);
99
+ }
100
+ static setSyncGenerateGtcid(val) {
101
+ GetuiIdoModule.setSyncGenerateGtcid(val);
102
+ }
103
+ static registerEventProperties(val) {
104
+ GetuiIdoModule.registerEventProperties(val);
105
+ }
106
+
107
+ static trackCustomKeyValueEventBegin(eventId) {
108
+ GetuiIdoModule.trackCustomKeyValueEventBegin(eventId);
109
+ }
110
+ static trackCustomKeyValueEventEnd(eventId, args, ext) {
111
+ GetuiIdoModule.trackCustomKeyValueEventEnd(eventId, args, ext);
112
+ }
113
+ static trackCountEvent(eventId, args, ext) {
114
+ GetuiIdoModule.trackCountEvent(eventId, args, ext);
115
+ }
116
+ static setProfile(profiles, ext) {
117
+ GetuiIdoModule.setProfile(profiles, ext);
118
+ }
119
+
120
+ }
@@ -0,0 +1,55 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>LibraryIdentifier</key>
9
+ <string>ios-arm64_x86_64-simulator</string>
10
+ <key>LibraryPath</key>
11
+ <string>GTCountSDK.framework</string>
12
+ <key>SupportedArchitectures</key>
13
+ <array>
14
+ <string>arm64</string>
15
+ <string>x86_64</string>
16
+ </array>
17
+ <key>SupportedPlatform</key>
18
+ <string>ios</string>
19
+ <key>SupportedPlatformVariant</key>
20
+ <string>simulator</string>
21
+ </dict>
22
+ <dict>
23
+ <key>LibraryIdentifier</key>
24
+ <string>ios-arm64</string>
25
+ <key>LibraryPath</key>
26
+ <string>GTCountSDK.framework</string>
27
+ <key>SupportedArchitectures</key>
28
+ <array>
29
+ <string>arm64</string>
30
+ </array>
31
+ <key>SupportedPlatform</key>
32
+ <string>ios</string>
33
+ </dict>
34
+ <dict>
35
+ <key>LibraryIdentifier</key>
36
+ <string>ios-arm64_x86_64-maccatalyst</string>
37
+ <key>LibraryPath</key>
38
+ <string>GTCountSDK.framework</string>
39
+ <key>SupportedArchitectures</key>
40
+ <array>
41
+ <string>arm64</string>
42
+ <string>x86_64</string>
43
+ </array>
44
+ <key>SupportedPlatform</key>
45
+ <string>ios</string>
46
+ <key>SupportedPlatformVariant</key>
47
+ <string>maccatalyst</string>
48
+ </dict>
49
+ </array>
50
+ <key>CFBundlePackageType</key>
51
+ <string>XFWK</string>
52
+ <key>XCFrameworkFormatVersion</key>
53
+ <string>1.0</string>
54
+ </dict>
55
+ </plist>