react-native-gemius-plugin 1.7.4 → 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 (128) 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/LRTGemiusPlugin.h +5 -0
  9. package/ios/LRTGemiusPlugin.mm +179 -0
  10. package/lib/module/NativeLRTGemiusPlugin.js +5 -0
  11. package/lib/module/NativeLRTGemiusPlugin.js.map +1 -0
  12. package/{index.js → lib/module/index.js} +16 -29
  13. package/lib/module/index.js.map +1 -0
  14. package/lib/module/package.json +1 -0
  15. package/lib/typescript/package.json +1 -0
  16. package/lib/typescript/src/NativeLRTGemiusPlugin.d.ts +22 -0
  17. package/lib/typescript/src/NativeLRTGemiusPlugin.d.ts.map +1 -0
  18. package/lib/typescript/src/index.d.ts +22 -0
  19. package/lib/typescript/src/index.d.ts.map +1 -0
  20. package/package.json +156 -17
  21. package/src/NativeLRTGemiusPlugin.ts +48 -0
  22. package/src/index.tsx +105 -0
  23. package/.gitattributes +0 -1
  24. package/android/.classpath +0 -6
  25. package/android/.gradle/9.0.0/checksums/checksums.lock +0 -0
  26. package/android/.gradle/9.0.0/executionHistory/executionHistory.lock +0 -0
  27. package/android/.gradle/9.0.0/fileChanges/last-build.bin +0 -0
  28. package/android/.gradle/9.0.0/fileHashes/fileHashes.bin +0 -0
  29. package/android/.gradle/9.0.0/fileHashes/fileHashes.lock +0 -0
  30. package/android/.gradle/9.0.0/fileHashes/resourceHashesCache.bin +0 -0
  31. package/android/.gradle/9.0.0/gc.properties +0 -0
  32. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  33. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  34. package/android/.gradle/config.properties +0 -2
  35. package/android/.gradle/file-system.probe +0 -0
  36. package/android/.gradle/gradle.properties +0 -43
  37. package/android/.gradle/noVersion/buildLogic.lock +0 -0
  38. package/android/.gradle/vcs-1/gc.properties +0 -0
  39. package/android/.idea/AndroidProjectSystem.xml +0 -6
  40. package/android/.idea/caches/deviceStreaming.xml +0 -1414
  41. package/android/.idea/compiler.xml +0 -19
  42. package/android/.idea/copilot.data.migration.agent.xml +0 -6
  43. package/android/.idea/gradle.xml +0 -18
  44. package/android/.idea/jarRepositories.xml +0 -55
  45. package/android/.idea/kotlinc.xml +0 -6
  46. package/android/.idea/migrations.xml +0 -10
  47. package/android/.idea/misc.xml +0 -10
  48. package/android/.idea/modules/android.androidTest.iml +0 -15
  49. package/android/.idea/modules/android.iml +0 -21
  50. package/android/.idea/modules/android.main.iml +0 -15
  51. package/android/.idea/modules/android.unitTest.iml +0 -15
  52. package/android/.idea/modules.xml +0 -11
  53. package/android/.idea/runConfigurations.xml +0 -17
  54. package/android/.idea/vcs.xml +0 -6
  55. package/android/.project +0 -34
  56. package/android/.settings/org.eclipse.buildship.core.prefs +0 -13
  57. package/android/README.md +0 -14
  58. package/android/build/reports/problems/problems-report.html +0 -663
  59. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  60. package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  61. package/android/gradle.properties +0 -39
  62. package/android/gradlew +0 -251
  63. package/android/gradlew.bat +0 -99
  64. package/android/local.properties +0 -8
  65. package/android/src/main/java/com/reactlibrary/GemiusPluginModule.java +0 -170
  66. package/android/src/main/java/com/reactlibrary/GemiusPluginPackage.java +0 -20
  67. package/index.d.ts +0 -27
  68. package/ios/GemiusPlugin.h +0 -5
  69. package/ios/GemiusPlugin.m +0 -163
  70. package/ios/GemiusPlugin.xcodeproj/project.pbxproj +0 -299
  71. package/ios/GemiusPlugin.xcodeproj/xcshareddata/xcschemes/GemiusPlugin.xcscheme +0 -67
  72. package/ios/GemiusPlugin.xcworkspace/contents.xcworkspacedata +0 -7
  73. package/ios/GemiusPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  74. package/ios/GemiusPlugin.xcworkspace/xcuserdata/kestasvenslauskas.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  75. package/ios/GemiusSDK.xcframework/Info.plist +0 -44
  76. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/GemiusSDK +0 -0
  77. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AdData.h +0 -23
  78. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AdDefine.h +0 -16
  79. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AdOceanConfig.h +0 -14
  80. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AudienceConfig.h +0 -19
  81. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/AudienceEvent.h +0 -18
  82. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/BaseConfig.h +0 -19
  83. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/BaseEvent.h +0 -37
  84. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/Config.h +0 -44
  85. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/ContentData.h +0 -15
  86. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/EventAdData.h +0 -7
  87. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/EventData.h +0 -14
  88. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/EventProgramData.h +0 -7
  89. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/GEMBillboardAd.h +0 -43
  90. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/GEMFullScreenAd.h +0 -44
  91. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/GemiusSDK.h +0 -34
  92. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/NetpanelConfig.h +0 -17
  93. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/NetpanelEvent.h +0 -23
  94. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/Player.h +0 -40
  95. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/PlayerData.h +0 -8
  96. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Headers/ProgramData.h +0 -41
  97. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Info.plist +0 -0
  98. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Modules/module.modulemap +0 -6
  99. package/ios/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/PrivacyInfo.xcprivacy +0 -48
  100. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/GemiusSDK +0 -0
  101. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AdData.h +0 -23
  102. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AdDefine.h +0 -16
  103. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AdOceanConfig.h +0 -14
  104. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AudienceConfig.h +0 -19
  105. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/AudienceEvent.h +0 -18
  106. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/BaseConfig.h +0 -19
  107. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/BaseEvent.h +0 -37
  108. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Config.h +0 -44
  109. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/ContentData.h +0 -15
  110. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventAdData.h +0 -7
  111. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventData.h +0 -14
  112. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/EventProgramData.h +0 -7
  113. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GEMBillboardAd.h +0 -43
  114. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GEMFullScreenAd.h +0 -44
  115. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/GemiusSDK.h +0 -34
  116. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/NetpanelConfig.h +0 -17
  117. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/NetpanelEvent.h +0 -23
  118. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/Player.h +0 -40
  119. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/PlayerData.h +0 -8
  120. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Headers/ProgramData.h +0 -41
  121. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Info.plist +0 -0
  122. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/Modules/module.modulemap +0 -6
  123. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/PrivacyInfo.xcprivacy +0 -48
  124. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeDirectory +0 -0
  125. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeRequirements +0 -0
  126. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeResources +0 -344
  127. package/ios/GemiusSDK.xcframework/ios-arm64_x86_64-simulator/GemiusSDK.framework/_CodeSignature/CodeSignature +0 -0
  128. 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,299 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 54;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 9C74A9852F4925510034796F /* GemiusSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9C74A9842F4925510034796F /* GemiusSDK.xcframework */; };
11
- B3E7B58A1CC2AC0600A0062D /* GemiusPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* GemiusPlugin.m */; platformFilter = ios; };
12
- /* End PBXBuildFile section */
13
-
14
- /* Begin PBXCopyFilesBuildPhase section */
15
- 58B511D91A9E6C8500147676 /* 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
- 134814201AA4EA6300B7C361 /* libGemiusPlugin.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libGemiusPlugin.a; sourceTree = BUILT_PRODUCTS_DIR; };
29
- 9C74A9842F4925510034796F /* GemiusSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = GemiusSDK.xcframework; sourceTree = "<group>"; };
30
- B3E7B5881CC2AC0600A0062D /* GemiusPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GemiusPlugin.h; sourceTree = "<group>"; };
31
- B3E7B5891CC2AC0600A0062D /* GemiusPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GemiusPlugin.m; sourceTree = "<group>"; };
32
- /* End PBXFileReference section */
33
-
34
- /* Begin PBXFrameworksBuildPhase section */
35
- 58B511D81A9E6C8500147676 /* Frameworks */ = {
36
- isa = PBXFrameworksBuildPhase;
37
- buildActionMask = 2147483647;
38
- files = (
39
- 9C74A9852F4925510034796F /* GemiusSDK.xcframework in Frameworks */,
40
- );
41
- runOnlyForDeploymentPostprocessing = 0;
42
- };
43
- /* End PBXFrameworksBuildPhase section */
44
-
45
- /* Begin PBXGroup section */
46
- 134814211AA4EA7D00B7C361 /* Products */ = {
47
- isa = PBXGroup;
48
- children = (
49
- 134814201AA4EA6300B7C361 /* libGemiusPlugin.a */,
50
- );
51
- name = Products;
52
- sourceTree = "<group>";
53
- };
54
- 58B511D21A9E6C8500147676 = {
55
- isa = PBXGroup;
56
- children = (
57
- 9C74A9842F4925510034796F /* GemiusSDK.xcframework */,
58
- B3E7B5881CC2AC0600A0062D /* GemiusPlugin.h */,
59
- B3E7B5891CC2AC0600A0062D /* GemiusPlugin.m */,
60
- 134814211AA4EA7D00B7C361 /* Products */,
61
- );
62
- sourceTree = "<group>";
63
- };
64
- /* End PBXGroup section */
65
-
66
- /* Begin PBXNativeTarget section */
67
- 58B511DA1A9E6C8500147676 /* GemiusPlugin */ = {
68
- isa = PBXNativeTarget;
69
- buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "GemiusPlugin" */;
70
- buildPhases = (
71
- 58B511D71A9E6C8500147676 /* Sources */,
72
- 58B511D81A9E6C8500147676 /* Frameworks */,
73
- 58B511D91A9E6C8500147676 /* Copy Files */,
74
- );
75
- buildRules = (
76
- );
77
- dependencies = (
78
- );
79
- name = GemiusPlugin;
80
- productName = RCTDataManager;
81
- productReference = 134814201AA4EA6300B7C361 /* libGemiusPlugin.a */;
82
- productType = "com.apple.product-type.library.static";
83
- };
84
- /* End PBXNativeTarget section */
85
-
86
- /* Begin PBXProject section */
87
- 58B511D31A9E6C8500147676 /* Project object */ = {
88
- isa = PBXProject;
89
- attributes = {
90
- LastUpgradeCheck = 0920;
91
- ORGANIZATIONNAME = Facebook;
92
- TargetAttributes = {
93
- 58B511DA1A9E6C8500147676 = {
94
- CreatedOnToolsVersion = 6.1.1;
95
- };
96
- };
97
- };
98
- buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "GemiusPlugin" */;
99
- compatibilityVersion = "Xcode 3.2";
100
- developmentRegion = English;
101
- hasScannedForEncodings = 0;
102
- knownRegions = (
103
- English,
104
- en,
105
- );
106
- mainGroup = 58B511D21A9E6C8500147676;
107
- productRefGroup = 58B511D21A9E6C8500147676;
108
- projectDirPath = "";
109
- projectRoot = "";
110
- targets = (
111
- 58B511DA1A9E6C8500147676 /* GemiusPlugin */,
112
- );
113
- };
114
- /* End PBXProject section */
115
-
116
- /* Begin PBXSourcesBuildPhase section */
117
- 58B511D71A9E6C8500147676 /* Sources */ = {
118
- isa = PBXSourcesBuildPhase;
119
- buildActionMask = 2147483647;
120
- files = (
121
- B3E7B58A1CC2AC0600A0062D /* GemiusPlugin.m in Sources */,
122
- );
123
- runOnlyForDeploymentPostprocessing = 0;
124
- };
125
- /* End PBXSourcesBuildPhase section */
126
-
127
- /* Begin XCBuildConfiguration section */
128
- 58B511ED1A9E6C8500147676 /* Debug */ = {
129
- isa = XCBuildConfiguration;
130
- buildSettings = {
131
- ALWAYS_SEARCH_USER_PATHS = NO;
132
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
133
- CLANG_CXX_LIBRARY = "libc++";
134
- CLANG_ENABLE_MODULES = YES;
135
- CLANG_ENABLE_OBJC_ARC = YES;
136
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
137
- CLANG_WARN_BOOL_CONVERSION = YES;
138
- CLANG_WARN_COMMA = YES;
139
- CLANG_WARN_CONSTANT_CONVERSION = YES;
140
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
141
- CLANG_WARN_EMPTY_BODY = YES;
142
- CLANG_WARN_ENUM_CONVERSION = YES;
143
- CLANG_WARN_INFINITE_RECURSION = YES;
144
- CLANG_WARN_INT_CONVERSION = YES;
145
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
146
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
147
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
148
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
149
- CLANG_WARN_STRICT_PROTOTYPES = YES;
150
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
151
- CLANG_WARN_UNREACHABLE_CODE = YES;
152
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
153
- COPY_PHASE_STRIP = NO;
154
- ENABLE_STRICT_OBJC_MSGSEND = YES;
155
- ENABLE_TESTABILITY = YES;
156
- GCC_C_LANGUAGE_STANDARD = gnu99;
157
- GCC_DYNAMIC_NO_PIC = NO;
158
- GCC_NO_COMMON_BLOCKS = YES;
159
- GCC_OPTIMIZATION_LEVEL = 0;
160
- GCC_PREPROCESSOR_DEFINITIONS = (
161
- "DEBUG=1",
162
- "$(inherited)",
163
- );
164
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
165
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
166
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
167
- GCC_WARN_UNDECLARED_SELECTOR = YES;
168
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
169
- GCC_WARN_UNUSED_FUNCTION = YES;
170
- GCC_WARN_UNUSED_VARIABLE = YES;
171
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
172
- MTL_ENABLE_DEBUG_INFO = YES;
173
- ONLY_ACTIVE_ARCH = YES;
174
- SDKROOT = iphoneos;
175
- };
176
- name = Debug;
177
- };
178
- 58B511EE1A9E6C8500147676 /* Release */ = {
179
- isa = XCBuildConfiguration;
180
- buildSettings = {
181
- ALWAYS_SEARCH_USER_PATHS = NO;
182
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
183
- CLANG_CXX_LIBRARY = "libc++";
184
- CLANG_ENABLE_MODULES = YES;
185
- CLANG_ENABLE_OBJC_ARC = YES;
186
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
187
- CLANG_WARN_BOOL_CONVERSION = YES;
188
- CLANG_WARN_COMMA = YES;
189
- CLANG_WARN_CONSTANT_CONVERSION = YES;
190
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
191
- CLANG_WARN_EMPTY_BODY = YES;
192
- CLANG_WARN_ENUM_CONVERSION = YES;
193
- CLANG_WARN_INFINITE_RECURSION = YES;
194
- CLANG_WARN_INT_CONVERSION = YES;
195
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
196
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
197
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
198
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
199
- CLANG_WARN_STRICT_PROTOTYPES = YES;
200
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
201
- CLANG_WARN_UNREACHABLE_CODE = YES;
202
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
203
- COPY_PHASE_STRIP = YES;
204
- ENABLE_NS_ASSERTIONS = NO;
205
- ENABLE_STRICT_OBJC_MSGSEND = YES;
206
- GCC_C_LANGUAGE_STANDARD = gnu99;
207
- GCC_NO_COMMON_BLOCKS = YES;
208
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
209
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
210
- GCC_WARN_UNDECLARED_SELECTOR = YES;
211
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
212
- GCC_WARN_UNUSED_FUNCTION = YES;
213
- GCC_WARN_UNUSED_VARIABLE = YES;
214
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
215
- MTL_ENABLE_DEBUG_INFO = NO;
216
- SDKROOT = iphoneos;
217
- VALIDATE_PRODUCT = YES;
218
- };
219
- name = Release;
220
- };
221
- 58B511F01A9E6C8500147676 /* Debug */ = {
222
- isa = XCBuildConfiguration;
223
- buildSettings = {
224
- FRAMEWORK_SEARCH_PATHS = (
225
- "$(inherited)",
226
- "$(PROJECT_DIR)",
227
- "$(PROJECT_DIR)/Frameworks",
228
- "$(SRCROOT)/Frameworks",
229
- "$(SRCROOT)",
230
- );
231
- HEADER_SEARCH_PATHS = (
232
- "$(inherited)",
233
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
234
- "$(SRCROOT)/../../../React/**",
235
- "$(SRCROOT)/../../react-native/React/**",
236
- );
237
- IPHONEOS_DEPLOYMENT_TARGET = 15.6;
238
- LIBRARY_SEARCH_PATHS = (
239
- "$(inherited)",
240
- "$(PROJECT_DIR)/Frameworks",
241
- );
242
- OTHER_LDFLAGS = "-ObjC";
243
- PRODUCT_NAME = GemiusPlugin;
244
- SKIP_INSTALL = YES;
245
- };
246
- name = Debug;
247
- };
248
- 58B511F11A9E6C8500147676 /* Release */ = {
249
- isa = XCBuildConfiguration;
250
- buildSettings = {
251
- FRAMEWORK_SEARCH_PATHS = (
252
- "$(inherited)",
253
- "$(PROJECT_DIR)",
254
- "$(PROJECT_DIR)/Frameworks",
255
- "$(SRCROOT)/Frameworks",
256
- "$(SRCROOT)",
257
- );
258
- HEADER_SEARCH_PATHS = (
259
- "$(inherited)",
260
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
261
- "$(SRCROOT)/../../../React/**",
262
- "$(SRCROOT)/../../react-native/React/**",
263
- );
264
- IPHONEOS_DEPLOYMENT_TARGET = 15.6;
265
- LIBRARY_SEARCH_PATHS = (
266
- "$(inherited)",
267
- "$(PROJECT_DIR)/Frameworks",
268
- );
269
- OTHER_LDFLAGS = "-ObjC";
270
- PRODUCT_NAME = GemiusPlugin;
271
- SKIP_INSTALL = YES;
272
- };
273
- name = Release;
274
- };
275
- /* End XCBuildConfiguration section */
276
-
277
- /* Begin XCConfigurationList section */
278
- 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "GemiusPlugin" */ = {
279
- isa = XCConfigurationList;
280
- buildConfigurations = (
281
- 58B511ED1A9E6C8500147676 /* Debug */,
282
- 58B511EE1A9E6C8500147676 /* Release */,
283
- );
284
- defaultConfigurationIsVisible = 0;
285
- defaultConfigurationName = Release;
286
- };
287
- 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "GemiusPlugin" */ = {
288
- isa = XCConfigurationList;
289
- buildConfigurations = (
290
- 58B511F01A9E6C8500147676 /* Debug */,
291
- 58B511F11A9E6C8500147676 /* Release */,
292
- );
293
- defaultConfigurationIsVisible = 0;
294
- defaultConfigurationName = Release;
295
- };
296
- /* End XCConfigurationList section */
297
- };
298
- rootObject = 58B511D31A9E6C8500147676 /* Project object */;
299
- }
@@ -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,44 +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>AvailableLibraries</key>
6
- <array>
7
- <dict>
8
- <key>BinaryPath</key>
9
- <string>GemiusSDK.framework/GemiusSDK</string>
10
- <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
12
- <key>LibraryPath</key>
13
- <string>GemiusSDK.framework</string>
14
- <key>SupportedArchitectures</key>
15
- <array>
16
- <string>arm64</string>
17
- </array>
18
- <key>SupportedPlatform</key>
19
- <string>ios</string>
20
- </dict>
21
- <dict>
22
- <key>BinaryPath</key>
23
- <string>GemiusSDK.framework/GemiusSDK</string>
24
- <key>LibraryIdentifier</key>
25
- <string>ios-arm64_x86_64-simulator</string>
26
- <key>LibraryPath</key>
27
- <string>GemiusSDK.framework</string>
28
- <key>SupportedArchitectures</key>
29
- <array>
30
- <string>arm64</string>
31
- <string>x86_64</string>
32
- </array>
33
- <key>SupportedPlatform</key>
34
- <string>ios</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>simulator</string>
37
- </dict>
38
- </array>
39
- <key>CFBundlePackageType</key>
40
- <string>XFWK</string>
41
- <key>XCFrameworkFormatVersion</key>
42
- <string>1.0</string>
43
- </dict>
44
- </plist>
@@ -1,23 +0,0 @@
1
- #import "ContentData.h"
2
-
3
- typedef NS_ENUM(NSInteger, GSMAdType) {
4
- GSM_PROMO = 1,
5
- GSM_SPOT,
6
- GSM_SPONSOR,
7
- GSM_AD_BREAK
8
- };
9
-
10
- typedef NS_ENUM(NSInteger, GSMAdFormat) {
11
- GSMAdFormatUndefined = 0,
12
- GSMAdFormatVideo = 1,
13
- GSMAdFormatAudio = 2
14
- };
15
-
16
- @interface GSMAdData : GSMContentData
17
-
18
- @property (nonatomic) GSMAdType adType;
19
- @property (nonatomic) GSMAdFormat adFormat;
20
- @property (nonatomic, copy) NSString *campaignClassification;
21
-
22
- @end
23
-
@@ -1,16 +0,0 @@
1
- //
2
- // AdDefine.h
3
- // GemiusSDK
4
- //
5
- // Copyright © 2018 Gemius. All rights reserved.
6
- //
7
-
8
- #ifndef AdDefine_h
9
- #define AdDefine_h
10
-
11
- typedef void (^onGEMAdReadyBlock)(BOOL hasAd);
12
- typedef void (^onGEMFailBlock)(NSError *error);
13
- typedef void (^onGEMAdClosedBlock)(void);
14
- typedef void (^onGEMContentReadyBlock)(void);
15
-
16
- #endif /* AdDefine_h */
@@ -1,14 +0,0 @@
1
- //
2
- // AdOceanConfig.h
3
- // GemiusSDK
4
- //
5
- // Copyright © 2018 Gemius. All rights reserved.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
-
10
- @interface GEMAdOceanConfig : NSObject
11
- @property(nonatomic, strong) NSString *emitterHost;
12
- @property(nonatomic, strong) NSString *baseUrl;
13
- + (GEMAdOceanConfig*)sharedInstance;
14
- @end
@@ -1,19 +0,0 @@
1
- //
2
- // AudienceConfig.h
3
- // GemiusSDK
4
- //
5
- // Copyright © 2018 Gemius. All rights reserved.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
- #import "BaseConfig.h"
10
-
11
- @interface GEMAudienceConfig : GEMBaseConfig
12
-
13
- @property(nonatomic, assign) BOOL bufferedMode;
14
- @property(nonatomic, strong) NSNumber *bufferFlushInterval;
15
- @property(nonatomic, assign) BOOL powerSavingMode;
16
-
17
- +(GEMAudienceConfig*)sharedInstance;
18
-
19
- @end
@@ -1,18 +0,0 @@
1
- //
2
- // AudienceEvent.h
3
- // GemiusSDK
4
- //
5
- // Copyright © 2018 Gemius. All rights reserved.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
- #import "BaseEvent.h"
10
-
11
- @interface GEMAudienceEvent : GEMBaseEvent
12
-
13
- //Static methods
14
- //---------------------------------------
15
- +(void)flushBufferWithForce:(BOOL)force;
16
- +(NSTimeInterval)eventLastSendTS;
17
-
18
- @end