react-native-gemius-plugin 1.7.3 → 2.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 (89) hide show
  1. package/LICENSE +20 -0
  2. package/LRTGemiusPlugin.podspec +21 -0
  3. package/README.md +23 -30
  4. package/android/build.gradle +74 -69
  5. package/android/src/main/AndroidManifest.xml +1 -3
  6. package/android/src/main/java/com/gemiusplugin/LRTGemiusPluginModule.kt +161 -0
  7. package/android/src/main/java/com/gemiusplugin/LRTGemiusPluginPackage.kt +31 -0
  8. package/ios/Frameworks/GemiusSDK.xcframework/Info.plist +9 -5
  9. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/GemiusSDK +0 -0
  10. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/Config.h +21 -2
  11. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Info.plist +0 -0
  12. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Modules/module.modulemap +1 -1
  13. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/PrivacyInfo.xcprivacy +48 -0
  14. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/GemiusSDK +0 -0
  15. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Config.h +21 -2
  16. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Info.plist +0 -0
  17. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Modules/module.modulemap +1 -1
  18. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/PrivacyInfo.xcprivacy +48 -0
  19. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeDirectory +0 -0
  20. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeResources +14 -87
  21. package/ios/LRTGemiusPlugin.h +5 -0
  22. package/ios/LRTGemiusPlugin.mm +179 -0
  23. package/lib/module/NativeLRTGemiusPlugin.js +5 -0
  24. package/lib/module/NativeLRTGemiusPlugin.js.map +1 -0
  25. package/{index.js → lib/module/index.js} +16 -29
  26. package/lib/module/index.js.map +1 -0
  27. package/lib/module/package.json +1 -0
  28. package/lib/typescript/package.json +1 -0
  29. package/lib/typescript/src/NativeLRTGemiusPlugin.d.ts +22 -0
  30. package/lib/typescript/src/NativeLRTGemiusPlugin.d.ts.map +1 -0
  31. package/lib/typescript/src/index.d.ts +22 -0
  32. package/lib/typescript/src/index.d.ts.map +1 -0
  33. package/package.json +156 -17
  34. package/src/NativeLRTGemiusPlugin.ts +48 -0
  35. package/src/index.tsx +105 -0
  36. package/.gitattributes +0 -1
  37. package/android/.classpath +0 -6
  38. package/android/.gradle/9.0.0/checksums/checksums.lock +0 -0
  39. package/android/.gradle/9.0.0/executionHistory/executionHistory.lock +0 -0
  40. package/android/.gradle/9.0.0/fileChanges/last-build.bin +0 -0
  41. package/android/.gradle/9.0.0/fileHashes/fileHashes.bin +0 -0
  42. package/android/.gradle/9.0.0/fileHashes/fileHashes.lock +0 -0
  43. package/android/.gradle/9.0.0/fileHashes/resourceHashesCache.bin +0 -0
  44. package/android/.gradle/9.0.0/gc.properties +0 -0
  45. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  46. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  47. package/android/.gradle/config.properties +0 -2
  48. package/android/.gradle/file-system.probe +0 -0
  49. package/android/.gradle/gradle.properties +0 -43
  50. package/android/.gradle/noVersion/buildLogic.lock +0 -0
  51. package/android/.gradle/vcs-1/gc.properties +0 -0
  52. package/android/.idea/AndroidProjectSystem.xml +0 -6
  53. package/android/.idea/caches/deviceStreaming.xml +0 -1414
  54. package/android/.idea/compiler.xml +0 -19
  55. package/android/.idea/copilot.data.migration.agent.xml +0 -6
  56. package/android/.idea/gradle.xml +0 -18
  57. package/android/.idea/jarRepositories.xml +0 -55
  58. package/android/.idea/kotlinc.xml +0 -6
  59. package/android/.idea/migrations.xml +0 -10
  60. package/android/.idea/misc.xml +0 -10
  61. package/android/.idea/modules/android.androidTest.iml +0 -15
  62. package/android/.idea/modules/android.iml +0 -21
  63. package/android/.idea/modules/android.main.iml +0 -15
  64. package/android/.idea/modules/android.unitTest.iml +0 -15
  65. package/android/.idea/modules.xml +0 -11
  66. package/android/.idea/runConfigurations.xml +0 -17
  67. package/android/.idea/vcs.xml +0 -6
  68. package/android/.project +0 -34
  69. package/android/.settings/org.eclipse.buildship.core.prefs +0 -13
  70. package/android/README.md +0 -14
  71. package/android/build/reports/problems/problems-report.html +0 -663
  72. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  73. package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  74. package/android/gradle.properties +0 -39
  75. package/android/gradlew +0 -251
  76. package/android/gradlew.bat +0 -99
  77. package/android/local.properties +0 -8
  78. package/android/src/main/java/com/reactlibrary/GemiusPluginModule.java +0 -170
  79. package/android/src/main/java/com/reactlibrary/GemiusPluginPackage.java +0 -20
  80. package/index.d.ts +0 -27
  81. package/ios/Frameworks/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeRequirements-1 +0 -0
  82. package/ios/GemiusPlugin.h +0 -5
  83. package/ios/GemiusPlugin.m +0 -163
  84. package/ios/GemiusPlugin.xcodeproj/project.pbxproj +0 -313
  85. package/ios/GemiusPlugin.xcodeproj/xcshareddata/xcschemes/GemiusPlugin.xcscheme +0 -67
  86. package/ios/GemiusPlugin.xcworkspace/contents.xcworkspacedata +0 -7
  87. package/ios/GemiusPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  88. package/ios/GemiusPlugin.xcworkspace/xcuserdata/kestasvenslauskas.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  89. package/react-native-gemius-plugin.podspec +0 -30
@@ -1,163 +0,0 @@
1
- #import "GemiusPlugin.h"
2
- #import <GemiusSDK/GemiusSDK.h>
3
-
4
- @implementation GemiusPlugin
5
-
6
- - (dispatch_queue_t)methodQueue
7
- {
8
- return dispatch_get_main_queue();
9
- }
10
-
11
- GSMPlayer *player;
12
-
13
- RCT_EXPORT_MODULE()
14
-
15
- RCT_EXPORT_METHOD(setAppInfo:(NSString *)app version:(NSString *)version gemiusHitcollectorHost:(NSString *)gemiusHitcollectorHost gemiusPrismIdentifier:(NSString *)gemiusPrismIdentifier)
16
- {
17
- [[GEMAudienceConfig sharedInstance] setHitcollectorHost:gemiusHitcollectorHost];
18
- [[GEMAudienceConfig sharedInstance] setScriptIdentifier:gemiusPrismIdentifier];
19
- [[GEMConfig sharedInstance] setLoggingEnabled:YES];
20
- [[GEMConfig sharedInstance] setAppInfo:app version:version];
21
- }
22
-
23
- RCT_EXPORT_METHOD(sendPageViewedEvent:(NSString *)gemiusPrismIdentifier params:(NSDictionary *) params)
24
- {
25
- GEMAudienceEvent *event = [GEMAudienceEvent new];
26
- [event setEventType:GEM_EVENT_FULL_PAGEVIEW];
27
- [event setScriptIdentifier:gemiusPrismIdentifier];
28
-
29
- if(params != nil){
30
- for (NSString* key in params) {
31
- [event addExtraParameter:key value:params[key]];
32
- }
33
- }
34
- [event sendEvent];
35
- }
36
-
37
- RCT_EXPORT_METHOD(sendPartialPageViewedEvent:(NSString *)gemiusPrismIdentifier params:(NSDictionary *) params)
38
- {
39
- GEMAudienceEvent *event = [GEMAudienceEvent new];
40
- [event setEventType:GEM_EVENT_PARTIAL_PAGEVIEW];
41
- [event setScriptIdentifier:gemiusPrismIdentifier];
42
-
43
- if(params != nil){
44
- for (NSString* key in params) {
45
- [event addExtraParameter:key value:params[key]];
46
- }
47
- }
48
- [event sendEvent];
49
- }
50
-
51
- RCT_EXPORT_METHOD(sendActionEvent:(NSString *)gemiusPrismIdentifier params:(NSDictionary *) params)
52
- {
53
- GEMAudienceEvent *event = [GEMAudienceEvent new];
54
- [event setEventType:GEM_EVENT_ACTION];
55
- [event setScriptIdentifier:gemiusPrismIdentifier];
56
-
57
- if(params != nil){
58
- for (NSString* key in params) {
59
- [event addExtraParameter:key value:params[key]];
60
- }
61
- }
62
- [event sendEvent];
63
- }
64
-
65
- RCT_EXPORT_METHOD(setPlayerInfo:(NSString *)playerId
66
- serverHost:(NSString *)serverHost
67
- accountId:(NSString *)accountId)
68
- {
69
- NSLog(@"Initializing player...");
70
-
71
- if(player == nil){
72
- player = [[GSMPlayer alloc] initWithID:playerId withHost:serverHost withGemiusID:accountId withData:nil];
73
- }else{
74
- NSLog(@"Player already initialized!");
75
- }
76
- }
77
-
78
- RCT_EXPORT_METHOD(setProgramData:(NSString *)clipId
79
- name:(NSString *)name
80
- duration:(nonnull NSNumber *)duration
81
- type:(NSString *)type)
82
- {
83
- NSLog(@"Setting new program data for %@ with duration %@", name, duration);
84
-
85
- GSMProgramData *pdata = [[GSMProgramData alloc] init];
86
- pdata.duration = duration;
87
- pdata.name = name;
88
- if([type isEqualToString:@"audio"]){
89
- pdata.programType = GSM_AUDIO;
90
- }else{
91
- pdata.programType = GSM_VIDEO;
92
- }
93
-
94
- [player newProgram:clipId withData:pdata];
95
- }
96
-
97
- RCT_EXPORT_METHOD(sendPlay:(NSString *)clipId offset:(nonnull NSNumber *)offset)
98
- {
99
- NSLog(@"Player PLAY event for '%@' offset: %@", clipId, offset);
100
-
101
- if (player) {
102
- GSMEventProgramData *data = [[GSMEventProgramData alloc] init];
103
- data.autoPlay = [NSNumber numberWithBool:YES];
104
- [player programEvent:GSM_PLAY forProgram:clipId atOffset:offset withData:data];
105
- }
106
- }
107
-
108
- RCT_EXPORT_METHOD(sendPause:(NSString *)clipId offset:(nonnull NSNumber *)offset)
109
- {
110
- NSLog(@"Player PAUSE event for '%@' offset: %@", clipId, offset);
111
-
112
- if (player) {
113
- [player programEvent:GSM_PAUSE forProgram:clipId atOffset:offset withData:nil];
114
- }
115
- }
116
-
117
- RCT_EXPORT_METHOD(sendStop:(NSString *)clipId offset:(nonnull NSNumber *)offset)
118
- {
119
- NSLog(@"Player STOP event for '%@' offset: %@", clipId, offset);
120
-
121
- if (player) {
122
- [player programEvent:GSM_STOP forProgram:clipId atOffset:offset withData:nil];
123
- }
124
- }
125
-
126
- RCT_EXPORT_METHOD(sendBuffer:(NSString *)clipId offset:(nonnull NSNumber *)offset)
127
- {
128
- NSLog(@"Player BUFFER event for '%@' offset: %@", clipId, offset);
129
-
130
- if (player) {
131
- [player programEvent:GSM_BUFFER forProgram:clipId atOffset:offset withData:nil];
132
- }
133
- }
134
-
135
- RCT_EXPORT_METHOD(sendClose:(NSString *)clipId offset:(nonnull NSNumber *)offset)
136
- {
137
- NSLog(@"Player CLOSE event for '%@' offset: %@", clipId, offset);
138
-
139
- if (player) {
140
- [player programEvent:GSM_CLOSE forProgram:clipId atOffset:offset withData:nil];
141
- }
142
- }
143
-
144
- RCT_EXPORT_METHOD(sendSeek:(NSString *)clipId offset:(nonnull NSNumber *)offset)
145
- {
146
- NSLog(@"Player SEEK event for '%@' offset: %@", clipId, offset);
147
-
148
- if (player) {
149
- [player programEvent:GSM_SEEK forProgram:clipId atOffset:offset withData:nil];
150
- }
151
- }
152
-
153
- RCT_EXPORT_METHOD(sendComplete:(NSString *)clipId offset:(nonnull NSNumber *)offset)
154
- {
155
- NSLog(@"Player COMPLETE event for '%@' offset: %@", clipId, offset);
156
-
157
- if (player) {
158
- [player programEvent:GSM_COMPLETE forProgram:clipId atOffset:offset withData:nil];
159
- }
160
- }
161
-
162
-
163
- @end
@@ -1,313 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 52;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 6F1120D627989BF400C697C7 /* GemiusSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F1120D527989BF400C697C7 /* GemiusSDK.xcframework */; platformFilter = ios; };
11
- B3E7B58A1CC2AC0600A0062D /* GemiusPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* GemiusPlugin.m */; platformFilter = ios; };
12
- F3B01E3C236256C300E25B83 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F3B01E3B236256C300E25B83 /* AdSupport.framework */; platformFilter = ios; };
13
- F3B01E3E236256DF00E25B83 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F3B01E3D236256DF00E25B83 /* SystemConfiguration.framework */; platformFilter = ios; };
14
- /* End PBXBuildFile section */
15
-
16
- /* Begin PBXCopyFilesBuildPhase section */
17
- 58B511D91A9E6C8500147676 /* Copy Files */ = {
18
- isa = PBXCopyFilesBuildPhase;
19
- buildActionMask = 2147483647;
20
- dstPath = "include/$(PRODUCT_NAME)";
21
- dstSubfolderSpec = 16;
22
- files = (
23
- );
24
- name = "Copy Files";
25
- runOnlyForDeploymentPostprocessing = 0;
26
- };
27
- /* End PBXCopyFilesBuildPhase section */
28
-
29
- /* Begin PBXFileReference section */
30
- 134814201AA4EA6300B7C361 /* libGemiusPlugin.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libGemiusPlugin.a; sourceTree = BUILT_PRODUCTS_DIR; };
31
- 6F1120D527989BF400C697C7 /* GemiusSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = GemiusSDK.xcframework; path = Frameworks/GemiusSDK.xcframework; sourceTree = "<group>"; };
32
- B3E7B5881CC2AC0600A0062D /* GemiusPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GemiusPlugin.h; sourceTree = "<group>"; };
33
- B3E7B5891CC2AC0600A0062D /* GemiusPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GemiusPlugin.m; sourceTree = "<group>"; };
34
- F3B01E3B236256C300E25B83 /* AdSupport.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AdSupport.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AdSupport.framework; sourceTree = DEVELOPER_DIR; };
35
- F3B01E3D236256DF00E25B83 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
36
- /* End PBXFileReference section */
37
-
38
- /* Begin PBXFrameworksBuildPhase section */
39
- 58B511D81A9E6C8500147676 /* Frameworks */ = {
40
- isa = PBXFrameworksBuildPhase;
41
- buildActionMask = 2147483647;
42
- files = (
43
- 6F1120D627989BF400C697C7 /* GemiusSDK.xcframework in Frameworks */,
44
- F3B01E3E236256DF00E25B83 /* SystemConfiguration.framework in Frameworks */,
45
- F3B01E3C236256C300E25B83 /* AdSupport.framework in Frameworks */,
46
- );
47
- runOnlyForDeploymentPostprocessing = 0;
48
- };
49
- /* End PBXFrameworksBuildPhase section */
50
-
51
- /* Begin PBXGroup section */
52
- 134814211AA4EA7D00B7C361 /* Products */ = {
53
- isa = PBXGroup;
54
- children = (
55
- 134814201AA4EA6300B7C361 /* libGemiusPlugin.a */,
56
- );
57
- name = Products;
58
- sourceTree = "<group>";
59
- };
60
- 58B511D21A9E6C8500147676 = {
61
- isa = PBXGroup;
62
- children = (
63
- F3B01E3A236256C200E25B83 /* Frameworks */,
64
- B3E7B5881CC2AC0600A0062D /* GemiusPlugin.h */,
65
- B3E7B5891CC2AC0600A0062D /* GemiusPlugin.m */,
66
- 134814211AA4EA7D00B7C361 /* Products */,
67
- );
68
- sourceTree = "<group>";
69
- };
70
- F3B01E3A236256C200E25B83 /* Frameworks */ = {
71
- isa = PBXGroup;
72
- children = (
73
- 6F1120D527989BF400C697C7 /* GemiusSDK.xcframework */,
74
- F3B01E3D236256DF00E25B83 /* SystemConfiguration.framework */,
75
- F3B01E3B236256C300E25B83 /* AdSupport.framework */,
76
- );
77
- name = Frameworks;
78
- sourceTree = "<group>";
79
- };
80
- /* End PBXGroup section */
81
-
82
- /* Begin PBXNativeTarget section */
83
- 58B511DA1A9E6C8500147676 /* GemiusPlugin */ = {
84
- isa = PBXNativeTarget;
85
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "GemiusPlugin" */;
86
- buildPhases = (
87
- 58B511D71A9E6C8500147676 /* Sources */,
88
- 58B511D81A9E6C8500147676 /* Frameworks */,
89
- 58B511D91A9E6C8500147676 /* Copy Files */,
90
- );
91
- buildRules = (
92
- );
93
- dependencies = (
94
- );
95
- name = GemiusPlugin;
96
- productName = RCTDataManager;
97
- productReference = 134814201AA4EA6300B7C361 /* libGemiusPlugin.a */;
98
- productType = "com.apple.product-type.library.static";
99
- };
100
- /* End PBXNativeTarget section */
101
-
102
- /* Begin PBXProject section */
103
- 58B511D31A9E6C8500147676 /* Project object */ = {
104
- isa = PBXProject;
105
- attributes = {
106
- LastUpgradeCheck = 0920;
107
- ORGANIZATIONNAME = Facebook;
108
- TargetAttributes = {
109
- 58B511DA1A9E6C8500147676 = {
110
- CreatedOnToolsVersion = 6.1.1;
111
- };
112
- };
113
- };
114
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "GemiusPlugin" */;
115
- compatibilityVersion = "Xcode 3.2";
116
- developmentRegion = English;
117
- hasScannedForEncodings = 0;
118
- knownRegions = (
119
- English,
120
- en,
121
- );
122
- mainGroup = 58B511D21A9E6C8500147676;
123
- productRefGroup = 58B511D21A9E6C8500147676;
124
- projectDirPath = "";
125
- projectRoot = "";
126
- targets = (
127
- 58B511DA1A9E6C8500147676 /* GemiusPlugin */,
128
- );
129
- };
130
- /* End PBXProject section */
131
-
132
- /* Begin PBXSourcesBuildPhase section */
133
- 58B511D71A9E6C8500147676 /* Sources */ = {
134
- isa = PBXSourcesBuildPhase;
135
- buildActionMask = 2147483647;
136
- files = (
137
- B3E7B58A1CC2AC0600A0062D /* GemiusPlugin.m in Sources */,
138
- );
139
- runOnlyForDeploymentPostprocessing = 0;
140
- };
141
- /* End PBXSourcesBuildPhase section */
142
-
143
- /* Begin XCBuildConfiguration section */
144
- 58B511ED1A9E6C8500147676 /* Debug */ = {
145
- isa = XCBuildConfiguration;
146
- buildSettings = {
147
- ALWAYS_SEARCH_USER_PATHS = NO;
148
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
149
- CLANG_CXX_LIBRARY = "libc++";
150
- CLANG_ENABLE_MODULES = YES;
151
- CLANG_ENABLE_OBJC_ARC = YES;
152
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
153
- CLANG_WARN_BOOL_CONVERSION = YES;
154
- CLANG_WARN_COMMA = YES;
155
- CLANG_WARN_CONSTANT_CONVERSION = YES;
156
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
157
- CLANG_WARN_EMPTY_BODY = YES;
158
- CLANG_WARN_ENUM_CONVERSION = YES;
159
- CLANG_WARN_INFINITE_RECURSION = YES;
160
- CLANG_WARN_INT_CONVERSION = YES;
161
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
162
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
163
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
164
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
165
- CLANG_WARN_STRICT_PROTOTYPES = YES;
166
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
167
- CLANG_WARN_UNREACHABLE_CODE = YES;
168
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
169
- COPY_PHASE_STRIP = NO;
170
- ENABLE_STRICT_OBJC_MSGSEND = YES;
171
- ENABLE_TESTABILITY = YES;
172
- GCC_C_LANGUAGE_STANDARD = gnu99;
173
- GCC_DYNAMIC_NO_PIC = NO;
174
- GCC_NO_COMMON_BLOCKS = YES;
175
- GCC_OPTIMIZATION_LEVEL = 0;
176
- GCC_PREPROCESSOR_DEFINITIONS = (
177
- "DEBUG=1",
178
- "$(inherited)",
179
- );
180
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
181
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
182
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
183
- GCC_WARN_UNDECLARED_SELECTOR = YES;
184
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
185
- GCC_WARN_UNUSED_FUNCTION = YES;
186
- GCC_WARN_UNUSED_VARIABLE = YES;
187
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
188
- MTL_ENABLE_DEBUG_INFO = YES;
189
- ONLY_ACTIVE_ARCH = YES;
190
- SDKROOT = iphoneos;
191
- };
192
- name = Debug;
193
- };
194
- 58B511EE1A9E6C8500147676 /* Release */ = {
195
- isa = XCBuildConfiguration;
196
- buildSettings = {
197
- ALWAYS_SEARCH_USER_PATHS = NO;
198
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
199
- CLANG_CXX_LIBRARY = "libc++";
200
- CLANG_ENABLE_MODULES = YES;
201
- CLANG_ENABLE_OBJC_ARC = YES;
202
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
203
- CLANG_WARN_BOOL_CONVERSION = YES;
204
- CLANG_WARN_COMMA = YES;
205
- CLANG_WARN_CONSTANT_CONVERSION = YES;
206
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
207
- CLANG_WARN_EMPTY_BODY = YES;
208
- CLANG_WARN_ENUM_CONVERSION = YES;
209
- CLANG_WARN_INFINITE_RECURSION = YES;
210
- CLANG_WARN_INT_CONVERSION = YES;
211
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
212
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
213
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
214
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
215
- CLANG_WARN_STRICT_PROTOTYPES = YES;
216
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
217
- CLANG_WARN_UNREACHABLE_CODE = YES;
218
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
219
- COPY_PHASE_STRIP = YES;
220
- ENABLE_NS_ASSERTIONS = NO;
221
- ENABLE_STRICT_OBJC_MSGSEND = YES;
222
- GCC_C_LANGUAGE_STANDARD = gnu99;
223
- GCC_NO_COMMON_BLOCKS = YES;
224
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
225
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
226
- GCC_WARN_UNDECLARED_SELECTOR = YES;
227
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
228
- GCC_WARN_UNUSED_FUNCTION = YES;
229
- GCC_WARN_UNUSED_VARIABLE = YES;
230
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
231
- MTL_ENABLE_DEBUG_INFO = NO;
232
- SDKROOT = iphoneos;
233
- VALIDATE_PRODUCT = YES;
234
- };
235
- name = Release;
236
- };
237
- 58B511F01A9E6C8500147676 /* Debug */ = {
238
- isa = XCBuildConfiguration;
239
- buildSettings = {
240
- FRAMEWORK_SEARCH_PATHS = (
241
- "$(inherited)",
242
- "$(PROJECT_DIR)",
243
- "$(PROJECT_DIR)/Frameworks",
244
- "$(SRCROOT)/Frameworks",
245
- "$(SRCROOT)",
246
- );
247
- HEADER_SEARCH_PATHS = (
248
- "$(inherited)",
249
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
250
- "$(SRCROOT)/../../../React/**",
251
- "$(SRCROOT)/../../react-native/React/**",
252
- );
253
- LIBRARY_SEARCH_PATHS = (
254
- "$(inherited)",
255
- "$(PROJECT_DIR)/Frameworks",
256
- );
257
- OTHER_LDFLAGS = "-ObjC";
258
- PRODUCT_NAME = GemiusPlugin;
259
- SKIP_INSTALL = YES;
260
- };
261
- name = Debug;
262
- };
263
- 58B511F11A9E6C8500147676 /* Release */ = {
264
- isa = XCBuildConfiguration;
265
- buildSettings = {
266
- FRAMEWORK_SEARCH_PATHS = (
267
- "$(inherited)",
268
- "$(PROJECT_DIR)",
269
- "$(PROJECT_DIR)/Frameworks",
270
- "$(SRCROOT)/Frameworks",
271
- "$(SRCROOT)",
272
- );
273
- HEADER_SEARCH_PATHS = (
274
- "$(inherited)",
275
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
276
- "$(SRCROOT)/../../../React/**",
277
- "$(SRCROOT)/../../react-native/React/**",
278
- );
279
- LIBRARY_SEARCH_PATHS = (
280
- "$(inherited)",
281
- "$(PROJECT_DIR)/Frameworks",
282
- );
283
- OTHER_LDFLAGS = "-ObjC";
284
- PRODUCT_NAME = GemiusPlugin;
285
- SKIP_INSTALL = YES;
286
- };
287
- name = Release;
288
- };
289
- /* End XCBuildConfiguration section */
290
-
291
- /* Begin XCConfigurationList section */
292
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "GemiusPlugin" */ = {
293
- isa = XCConfigurationList;
294
- buildConfigurations = (
295
- 58B511ED1A9E6C8500147676 /* Debug */,
296
- 58B511EE1A9E6C8500147676 /* Release */,
297
- );
298
- defaultConfigurationIsVisible = 0;
299
- defaultConfigurationName = Release;
300
- };
301
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "GemiusPlugin" */ = {
302
- isa = XCConfigurationList;
303
- buildConfigurations = (
304
- 58B511F01A9E6C8500147676 /* Debug */,
305
- 58B511F11A9E6C8500147676 /* Release */,
306
- );
307
- defaultConfigurationIsVisible = 0;
308
- defaultConfigurationName = Release;
309
- };
310
- /* End XCConfigurationList section */
311
- };
312
- rootObject = 58B511D31A9E6C8500147676 /* Project object */;
313
- }
@@ -1,67 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1110"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "58B511DA1A9E6C8500147676"
18
- BuildableName = "libGemiusPlugin.a"
19
- BlueprintName = "GemiusPlugin"
20
- ReferencedContainer = "container:GemiusPlugin.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- </Testables>
32
- </TestAction>
33
- <LaunchAction
34
- buildConfiguration = "Debug"
35
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37
- launchStyle = "0"
38
- useCustomWorkingDirectory = "NO"
39
- ignoresPersistentStateOnLaunch = "NO"
40
- debugDocumentVersioning = "YES"
41
- debugServiceExtension = "internal"
42
- allowLocationSimulation = "YES">
43
- </LaunchAction>
44
- <ProfileAction
45
- buildConfiguration = "Release"
46
- shouldUseLaunchSchemeArgsEnv = "YES"
47
- savedToolIdentifier = ""
48
- useCustomWorkingDirectory = "NO"
49
- debugDocumentVersioning = "YES">
50
- <MacroExpansion>
51
- <BuildableReference
52
- BuildableIdentifier = "primary"
53
- BlueprintIdentifier = "58B511DA1A9E6C8500147676"
54
- BuildableName = "libGemiusPlugin.a"
55
- BlueprintName = "GemiusPlugin"
56
- ReferencedContainer = "container:GemiusPlugin.xcodeproj">
57
- </BuildableReference>
58
- </MacroExpansion>
59
- </ProfileAction>
60
- <AnalyzeAction
61
- buildConfiguration = "Debug">
62
- </AnalyzeAction>
63
- <ArchiveAction
64
- buildConfiguration = "Release"
65
- revealArchiveInOrganizer = "YES">
66
- </ArchiveAction>
67
- </Scheme>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "group:GemiusPlugin.xcodeproj">
6
- </FileRef>
7
- </Workspace>
@@ -1,8 +0,0 @@
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>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,30 +0,0 @@
1
- require "json"
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
-
5
- Pod::Spec.new do |s|
6
- s.name = "react-native-gemius-plugin"
7
- s.version = package["version"]
8
- s.summary = package["description"]
9
- s.description = <<-DESC
10
- react-native-gemius-plugin
11
- DESC
12
- s.homepage = "https://github.com/github_account/react-native-gemius-plugin"
13
- s.license = "MIT"
14
- # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
15
- s.authors = { "Your Name" => "yourname@email.com" }
16
- s.platforms = { :ios => "9.0" }
17
- s.source = { :git => "https://github.com/github_account/react-native-gemius-plugin.git", :tag => "#{s.version}" }
18
-
19
- # Try uncommenting if something wrong
20
- # s.static_framework = true
21
-
22
- s.source_files = "ios/*.{h,m}"
23
- s.vendored_frameworks = 'ios/Frameworks/GemiusSDK.xcframework'
24
- s.frameworks = 'GemiusSDK'
25
-
26
- s.dependency "React"
27
-
28
- # s.dependency "..."
29
- end
30
-