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.
- package/IdoSdkRN.podspec +27 -0
- package/README.md +96 -0
- package/android/build.gradle +57 -0
- package/android/libs/getui-3.3.11.0.jar +0 -0
- package/android/libs/gtc-3.2.18.0.jar +0 -0
- package/android/proguard.txt +37 -0
- package/android/src/main/AndroidManifest.xml +100 -0
- package/android/src/main/java/com/getui/reactnativegetui/DemoPushService.java +7 -0
- package/android/src/main/java/com/getui/reactnativegetui/GetuiLogger.java +26 -0
- package/android/src/main/java/com/getui/reactnativegetui/GetuiModule.java +346 -0
- package/android/src/main/java/com/getui/reactnativegetui/GetuiPackage.java +42 -0
- package/android/src/main/java/com/getui/reactnativegetui/PushIntentService.java +110 -0
- package/document/android.md +112 -0
- package/document/iOS.md +299 -0
- package/document/img/ios_1.jpeg +0 -0
- package/gradlew +160 -0
- package/gradlew.bat +90 -0
- package/index.d.ts +32 -0
- package/index.js +120 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/Info.plist +55 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeResources +548 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/GTCountSDK +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/Headers/GTCountSDK.h +145 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/Info.plist +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/Modules/module.modulemap +5 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/PrivacyInfo.xcprivacy +44 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeResources +147 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64/GTCountSDK.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/GTCountSDK +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/Headers/GTCountSDK.h +145 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/Info.plist +52 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/Modules/module.modulemap +5 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/PrivacyInfo.xcprivacy +44 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeResources +147 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-maccatalyst/GTCountSDK.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/GTCountSDK +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/Headers/GTCountSDK.h +145 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/Info.plist +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/Modules/module.modulemap +5 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/PrivacyInfo.xcprivacy +44 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeDirectory +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeRequirements +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeResources +147 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/GTCountSDK.xcframework/ios-arm64_x86_64-simulator/GTCountSDK.framework/_CodeSignature/CodeSignature +0 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/RCTGetuiIdoModule.h +23 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule/RCTGetuiIdoModule.m +279 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule.xcodeproj/project.pbxproj +288 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/RCTGetuiIdoModule/RCTGetuiIdoModule.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/package.json +55 -0
- package/postInstall.js +79 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 60;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
84F17A2E1E63FB1B00F97ED1 /* RCTGetuiIdoModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 84F17A2D1E63FB1B00F97ED1 /* RCTGetuiIdoModule.m */; };
|
|
11
|
+
A8BBA46629499A8300918BD1 /* GTCountSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8BBA46529499A8300918BD1 /* GTCountSDK.xcframework */; };
|
|
12
|
+
/* End PBXBuildFile section */
|
|
13
|
+
|
|
14
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
|
15
|
+
84F17A271E63FB1B00F97ED1 /* Copy Files */ = {
|
|
16
|
+
isa = PBXCopyFilesBuildPhase;
|
|
17
|
+
buildActionMask = 2147483647;
|
|
18
|
+
dstPath = "include/$(PRODUCT_NAME)";
|
|
19
|
+
dstSubfolderSpec = 16;
|
|
20
|
+
files = (
|
|
21
|
+
);
|
|
22
|
+
name = "Copy Files";
|
|
23
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
24
|
+
};
|
|
25
|
+
/* End PBXCopyFilesBuildPhase section */
|
|
26
|
+
|
|
27
|
+
/* Begin PBXFileReference section */
|
|
28
|
+
84F17A291E63FB1B00F97ED1 /* libRCTGetuiIdoModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTGetuiIdoModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
29
|
+
84F17A2C1E63FB1B00F97ED1 /* RCTGetuiIdoModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTGetuiIdoModule.h; sourceTree = "<group>"; };
|
|
30
|
+
84F17A2D1E63FB1B00F97ED1 /* RCTGetuiIdoModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTGetuiIdoModule.m; sourceTree = "<group>"; };
|
|
31
|
+
A8BBA46529499A8300918BD1 /* GTCountSDK.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:3MJY223U56:Zhejiang Merit Interactive Network Technology Co., Ltd."; lastKnownFileType = wrapper.xcframework; path = GTCountSDK.xcframework; sourceTree = "<group>"; };
|
|
32
|
+
/* End PBXFileReference section */
|
|
33
|
+
|
|
34
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
35
|
+
84F17A261E63FB1B00F97ED1 /* Frameworks */ = {
|
|
36
|
+
isa = PBXFrameworksBuildPhase;
|
|
37
|
+
buildActionMask = 2147483647;
|
|
38
|
+
files = (
|
|
39
|
+
A8BBA46629499A8300918BD1 /* GTCountSDK.xcframework in Frameworks */,
|
|
40
|
+
);
|
|
41
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
42
|
+
};
|
|
43
|
+
/* End PBXFrameworksBuildPhase section */
|
|
44
|
+
|
|
45
|
+
/* Begin PBXGroup section */
|
|
46
|
+
84F17A201E63FB1B00F97ED1 = {
|
|
47
|
+
isa = PBXGroup;
|
|
48
|
+
children = (
|
|
49
|
+
84F17A2B1E63FB1B00F97ED1 /* RCTGetuiIdoModule */,
|
|
50
|
+
84F17A2A1E63FB1B00F97ED1 /* Products */,
|
|
51
|
+
);
|
|
52
|
+
sourceTree = "<group>";
|
|
53
|
+
};
|
|
54
|
+
84F17A2A1E63FB1B00F97ED1 /* Products */ = {
|
|
55
|
+
isa = PBXGroup;
|
|
56
|
+
children = (
|
|
57
|
+
84F17A291E63FB1B00F97ED1 /* libRCTGetuiIdoModule.a */,
|
|
58
|
+
);
|
|
59
|
+
name = Products;
|
|
60
|
+
sourceTree = "<group>";
|
|
61
|
+
};
|
|
62
|
+
84F17A2B1E63FB1B00F97ED1 /* RCTGetuiIdoModule */ = {
|
|
63
|
+
isa = PBXGroup;
|
|
64
|
+
children = (
|
|
65
|
+
84F17A2C1E63FB1B00F97ED1 /* RCTGetuiIdoModule.h */,
|
|
66
|
+
84F17A2D1E63FB1B00F97ED1 /* RCTGetuiIdoModule.m */,
|
|
67
|
+
A8BBA46529499A8300918BD1 /* GTCountSDK.xcframework */,
|
|
68
|
+
);
|
|
69
|
+
path = RCTGetuiIdoModule;
|
|
70
|
+
sourceTree = "<group>";
|
|
71
|
+
};
|
|
72
|
+
/* End PBXGroup section */
|
|
73
|
+
|
|
74
|
+
/* Begin PBXNativeTarget section */
|
|
75
|
+
84F17A281E63FB1B00F97ED1 /* RCTGetuiIdoModule */ = {
|
|
76
|
+
isa = PBXNativeTarget;
|
|
77
|
+
buildConfigurationList = 84F17A321E63FB1B00F97ED1 /* Build configuration list for PBXNativeTarget "RCTGetuiIdoModule" */;
|
|
78
|
+
buildPhases = (
|
|
79
|
+
84F17A251E63FB1B00F97ED1 /* Sources */,
|
|
80
|
+
84F17A261E63FB1B00F97ED1 /* Frameworks */,
|
|
81
|
+
84F17A271E63FB1B00F97ED1 /* Copy Files */,
|
|
82
|
+
);
|
|
83
|
+
buildRules = (
|
|
84
|
+
);
|
|
85
|
+
dependencies = (
|
|
86
|
+
);
|
|
87
|
+
name = RCTGetuiIdoModule;
|
|
88
|
+
productName = RCTGetuiModule;
|
|
89
|
+
productReference = 84F17A291E63FB1B00F97ED1 /* libRCTGetuiIdoModule.a */;
|
|
90
|
+
productType = "com.apple.product-type.library.static";
|
|
91
|
+
};
|
|
92
|
+
/* End PBXNativeTarget section */
|
|
93
|
+
|
|
94
|
+
/* Begin PBXProject section */
|
|
95
|
+
84F17A211E63FB1B00F97ED1 /* Project object */ = {
|
|
96
|
+
isa = PBXProject;
|
|
97
|
+
attributes = {
|
|
98
|
+
LastUpgradeCheck = 0820;
|
|
99
|
+
ORGANIZATIONNAME = getui;
|
|
100
|
+
TargetAttributes = {
|
|
101
|
+
84F17A281E63FB1B00F97ED1 = {
|
|
102
|
+
CreatedOnToolsVersion = 8.2.1;
|
|
103
|
+
DevelopmentTeam = BFA3ZNR7Q2;
|
|
104
|
+
ProvisioningStyle = Automatic;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
buildConfigurationList = 84F17A241E63FB1B00F97ED1 /* Build configuration list for PBXProject "RCTGetuiIdoModule" */;
|
|
109
|
+
compatibilityVersion = "Xcode 3.2";
|
|
110
|
+
developmentRegion = English;
|
|
111
|
+
hasScannedForEncodings = 0;
|
|
112
|
+
knownRegions = (
|
|
113
|
+
English,
|
|
114
|
+
en,
|
|
115
|
+
);
|
|
116
|
+
mainGroup = 84F17A201E63FB1B00F97ED1;
|
|
117
|
+
productRefGroup = 84F17A2A1E63FB1B00F97ED1 /* Products */;
|
|
118
|
+
projectDirPath = "";
|
|
119
|
+
projectRoot = "";
|
|
120
|
+
targets = (
|
|
121
|
+
84F17A281E63FB1B00F97ED1 /* RCTGetuiIdoModule */,
|
|
122
|
+
);
|
|
123
|
+
};
|
|
124
|
+
/* End PBXProject section */
|
|
125
|
+
|
|
126
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
127
|
+
84F17A251E63FB1B00F97ED1 /* Sources */ = {
|
|
128
|
+
isa = PBXSourcesBuildPhase;
|
|
129
|
+
buildActionMask = 2147483647;
|
|
130
|
+
files = (
|
|
131
|
+
84F17A2E1E63FB1B00F97ED1 /* RCTGetuiIdoModule.m in Sources */,
|
|
132
|
+
);
|
|
133
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
134
|
+
};
|
|
135
|
+
/* End PBXSourcesBuildPhase section */
|
|
136
|
+
|
|
137
|
+
/* Begin XCBuildConfiguration section */
|
|
138
|
+
84F17A301E63FB1B00F97ED1 /* Debug */ = {
|
|
139
|
+
isa = XCBuildConfiguration;
|
|
140
|
+
buildSettings = {
|
|
141
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
142
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
143
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
144
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
145
|
+
CLANG_ENABLE_MODULES = YES;
|
|
146
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
147
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
148
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
149
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
150
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
151
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
152
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
153
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
154
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
155
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
156
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
157
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
158
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
159
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
160
|
+
COPY_PHASE_STRIP = NO;
|
|
161
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
162
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
163
|
+
ENABLE_TESTABILITY = YES;
|
|
164
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
165
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
166
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
167
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
168
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
169
|
+
"DEBUG=1",
|
|
170
|
+
"$(inherited)",
|
|
171
|
+
);
|
|
172
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
173
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
174
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
175
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
176
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
177
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
178
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
179
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
|
180
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
181
|
+
SDKROOT = iphoneos;
|
|
182
|
+
};
|
|
183
|
+
name = Debug;
|
|
184
|
+
};
|
|
185
|
+
84F17A311E63FB1B00F97ED1 /* Release */ = {
|
|
186
|
+
isa = XCBuildConfiguration;
|
|
187
|
+
buildSettings = {
|
|
188
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
189
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
190
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
191
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
192
|
+
CLANG_ENABLE_MODULES = YES;
|
|
193
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
194
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
195
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
196
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
197
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
198
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
199
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
200
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
201
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
202
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
203
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
204
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
205
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
206
|
+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
207
|
+
COPY_PHASE_STRIP = NO;
|
|
208
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
209
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
210
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
211
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
212
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
213
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
214
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
215
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
216
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
217
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
218
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
219
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
220
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
221
|
+
SDKROOT = iphoneos;
|
|
222
|
+
VALIDATE_PRODUCT = YES;
|
|
223
|
+
};
|
|
224
|
+
name = Release;
|
|
225
|
+
};
|
|
226
|
+
84F17A331E63FB1B00F97ED1 /* Debug */ = {
|
|
227
|
+
isa = XCBuildConfiguration;
|
|
228
|
+
buildSettings = {
|
|
229
|
+
DEVELOPMENT_TEAM = BFA3ZNR7Q2;
|
|
230
|
+
FRAMEWORK_SEARCH_PATHS = (
|
|
231
|
+
"$(inherited)",
|
|
232
|
+
"$(PROJECT_DIR)/RCTGetuiModule",
|
|
233
|
+
);
|
|
234
|
+
HEADER_SEARCH_PATHS = "$(SRCROOT)/../../../react-native/React/**";
|
|
235
|
+
LIBRARY_SEARCH_PATHS = (
|
|
236
|
+
"$(inherited)",
|
|
237
|
+
"$(PROJECT_DIR)/RCTGetuiModule",
|
|
238
|
+
);
|
|
239
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
240
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
241
|
+
SKIP_INSTALL = YES;
|
|
242
|
+
};
|
|
243
|
+
name = Debug;
|
|
244
|
+
};
|
|
245
|
+
84F17A341E63FB1B00F97ED1 /* Release */ = {
|
|
246
|
+
isa = XCBuildConfiguration;
|
|
247
|
+
buildSettings = {
|
|
248
|
+
DEVELOPMENT_TEAM = BFA3ZNR7Q2;
|
|
249
|
+
FRAMEWORK_SEARCH_PATHS = (
|
|
250
|
+
"$(inherited)",
|
|
251
|
+
"$(PROJECT_DIR)/RCTGetuiModule",
|
|
252
|
+
);
|
|
253
|
+
HEADER_SEARCH_PATHS = "$(SRCROOT)/../../../react-native/React/**";
|
|
254
|
+
LIBRARY_SEARCH_PATHS = (
|
|
255
|
+
"$(inherited)",
|
|
256
|
+
"$(PROJECT_DIR)/RCTGetuiModule",
|
|
257
|
+
);
|
|
258
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
259
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
260
|
+
SKIP_INSTALL = YES;
|
|
261
|
+
};
|
|
262
|
+
name = Release;
|
|
263
|
+
};
|
|
264
|
+
/* End XCBuildConfiguration section */
|
|
265
|
+
|
|
266
|
+
/* Begin XCConfigurationList section */
|
|
267
|
+
84F17A241E63FB1B00F97ED1 /* Build configuration list for PBXProject "RCTGetuiIdoModule" */ = {
|
|
268
|
+
isa = XCConfigurationList;
|
|
269
|
+
buildConfigurations = (
|
|
270
|
+
84F17A301E63FB1B00F97ED1 /* Debug */,
|
|
271
|
+
84F17A311E63FB1B00F97ED1 /* Release */,
|
|
272
|
+
);
|
|
273
|
+
defaultConfigurationIsVisible = 0;
|
|
274
|
+
defaultConfigurationName = Release;
|
|
275
|
+
};
|
|
276
|
+
84F17A321E63FB1B00F97ED1 /* Build configuration list for PBXNativeTarget "RCTGetuiIdoModule" */ = {
|
|
277
|
+
isa = XCConfigurationList;
|
|
278
|
+
buildConfigurations = (
|
|
279
|
+
84F17A331E63FB1B00F97ED1 /* Debug */,
|
|
280
|
+
84F17A341E63FB1B00F97ED1 /* Release */,
|
|
281
|
+
);
|
|
282
|
+
defaultConfigurationIsVisible = 0;
|
|
283
|
+
defaultConfigurationName = Release;
|
|
284
|
+
};
|
|
285
|
+
/* End XCConfigurationList section */
|
|
286
|
+
};
|
|
287
|
+
rootObject = 84F17A211E63FB1B00F97ED1 /* Project object */;
|
|
288
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-native-idosdk",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Getui ido sdk plugin for react-native",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git@github.com:GetuiLaboratory/react-native-idosdk.git"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"react",
|
|
14
|
+
"native",
|
|
15
|
+
"push",
|
|
16
|
+
"getui",
|
|
17
|
+
"react-native",
|
|
18
|
+
"Getui",
|
|
19
|
+
"ido"
|
|
20
|
+
],
|
|
21
|
+
"author": "",
|
|
22
|
+
"license": "ISC",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/GetuiLaboratory/react-native-idosdk/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/GetuiLaboratory/react-native-idosdk#readme",
|
|
27
|
+
"rnpm": {
|
|
28
|
+
"ios": {
|
|
29
|
+
"sharedLibraries": [
|
|
30
|
+
"z",
|
|
31
|
+
"resolv",
|
|
32
|
+
"CFNetwork",
|
|
33
|
+
"libz",
|
|
34
|
+
"libc++",
|
|
35
|
+
"libsqlite3",
|
|
36
|
+
"Security",
|
|
37
|
+
"MobileCoreServices",
|
|
38
|
+
"SystemConfiguration",
|
|
39
|
+
"CoreTelephony",
|
|
40
|
+
"AVFoundation",
|
|
41
|
+
"JavaScriptCore",
|
|
42
|
+
"UserNotifications",
|
|
43
|
+
"CoreLocation",
|
|
44
|
+
"AdSupport",
|
|
45
|
+
"CoreFoundation",
|
|
46
|
+
"Foundation",
|
|
47
|
+
"UIKit",
|
|
48
|
+
"PushKit",
|
|
49
|
+
"Network"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
}
|
|
55
|
+
}
|
package/postInstall.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// var fs = require('fs');
|
|
2
|
+
// var spath = require('path');
|
|
3
|
+
// var os = require('os');
|
|
4
|
+
|
|
5
|
+
// function getAllfiles(dir, findOne) {
|
|
6
|
+
// // if (arguments.length < 2) throw new TypeError('Bad arguments number');
|
|
7
|
+
|
|
8
|
+
// if (typeof findOne !== 'function') {
|
|
9
|
+
// throw new TypeError('The argument "findOne" must be a function');
|
|
10
|
+
// }
|
|
11
|
+
|
|
12
|
+
// eachFileSync(spath.resolve(dir), findOne);
|
|
13
|
+
// }
|
|
14
|
+
|
|
15
|
+
// function eachFileSync (dir, findOne) {
|
|
16
|
+
// var stats = fs.statSync(dir);
|
|
17
|
+
// var files = fullPath(dir, fs.readdirSync(dir));
|
|
18
|
+
// files.forEach(function (item) {
|
|
19
|
+
// findOne(item, stats);
|
|
20
|
+
// });
|
|
21
|
+
|
|
22
|
+
// // // 遍历子目录
|
|
23
|
+
// // if (stats.isDirectory()) {
|
|
24
|
+
// // var files = fullPath(dir, fs.readdirSync(dir));
|
|
25
|
+
// // // console.log(dir);
|
|
26
|
+
// // files.forEach(function (f) {
|
|
27
|
+
// // // eachFileSync(f, findOne);
|
|
28
|
+
// // findOne(dir, stats);
|
|
29
|
+
// // });
|
|
30
|
+
// // }
|
|
31
|
+
// }
|
|
32
|
+
|
|
33
|
+
// function fullPath (dir, files) {
|
|
34
|
+
// return files.map(function (f) {
|
|
35
|
+
// return spath.join(dir, f);
|
|
36
|
+
// });
|
|
37
|
+
// }
|
|
38
|
+
|
|
39
|
+
// getPackageJson("./../..", function (f, s) {
|
|
40
|
+
// var isPackageJson = f.match(/package\.json/);
|
|
41
|
+
// if (isPackageJson != null) {
|
|
42
|
+
// console.log("find package.json file: " + f);
|
|
43
|
+
// if (isFile(f) == false) {
|
|
44
|
+
// console.log("configure package.json error!!");
|
|
45
|
+
// return;
|
|
46
|
+
// }
|
|
47
|
+
// var rf = fs.readFileSync(f, "utf-8");
|
|
48
|
+
// var searchKey = rf.match(/\n.*\"scripts\"\: \{\n/);
|
|
49
|
+
|
|
50
|
+
// if (/configureJPush/.test(rf)) {
|
|
51
|
+
// return;
|
|
52
|
+
// }
|
|
53
|
+
|
|
54
|
+
// if (searchKey != null) {
|
|
55
|
+
// rf = rf.replace(searchKey[0], searchKey[0] + " \"GetuiConfigure\"\: \"node node_modules\/react-native-getui\/GetuiConfiguration\.js\"\,\n");
|
|
56
|
+
// fs.writeFileSync(f, rf, "utf-8");
|
|
57
|
+
// }
|
|
58
|
+
// }
|
|
59
|
+
// });
|
|
60
|
+
|
|
61
|
+
// function getPackageJson(dir, findOne) {
|
|
62
|
+
// if (typeof findOne !== 'function') {
|
|
63
|
+
// throw new TypeError('The argument "findOne" must be a function');
|
|
64
|
+
// }
|
|
65
|
+
|
|
66
|
+
// eachFileSync(spath.resolve(dir), findOne);
|
|
67
|
+
// }
|
|
68
|
+
|
|
69
|
+
// function isFile(path){
|
|
70
|
+
// return exists(path) && fs.statSync(path).isFile();
|
|
71
|
+
// }
|
|
72
|
+
|
|
73
|
+
// function exists(path){
|
|
74
|
+
// return fs.existsSync(path) || path.existsSync(path);
|
|
75
|
+
// }
|
|
76
|
+
|
|
77
|
+
// function isDir(path){
|
|
78
|
+
// return exists(path) && fs.statSync(path).isDirectory();
|
|
79
|
+
// }
|