@customerglu/react-native-customerglu 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 (54) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +74 -0
  3. package/android/build.gradle +71 -0
  4. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  5. package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  6. package/android/gradle.properties +0 -0
  7. package/android/gradlew +185 -0
  8. package/android/gradlew.bat +89 -0
  9. package/android/src/main/AndroidManifest.xml +11 -0
  10. package/android/src/main/java/com/reactnativerncustomerglu/Bannerwidget/Bannerwidget/BannerWidgetViewGroupManager.java +40 -0
  11. package/android/src/main/java/com/reactnativerncustomerglu/Bannerwidget/Bannerwidget/bannerWidget.java +44 -0
  12. package/android/src/main/java/com/reactnativerncustomerglu/Bannerwidget/wrapperview/WrapperView.java +61 -0
  13. package/android/src/main/java/com/reactnativerncustomerglu/RncustomergluModule.java +528 -0
  14. package/android/src/main/java/com/reactnativerncustomerglu/RncustomergluPackage.java +31 -0
  15. package/android/src/main/res/drawable/bottom_sheet_edges.xml +7 -0
  16. package/android/src/main/res/drawable/floating_close_layout.xml +10 -0
  17. package/android/src/main/res/drawable/ic_arrow_back.xml +5 -0
  18. package/android/src/main/res/drawable/ic_back.xml +10 -0
  19. package/android/src/main/res/drawable/ic_delete_bin.xml +5 -0
  20. package/android/src/main/res/drawable/ic_delete_bin_red.xml +5 -0
  21. package/android/src/main/res/drawable/ij.png +0 -0
  22. package/android/src/main/res/drawable/notification.png +0 -0
  23. package/android/src/main/res/drawable/progress_bg.xml +33 -0
  24. package/android/src/main/res/layout/activity_reward.xml +66 -0
  25. package/android/src/main/res/layout/banner_adapter.xml +44 -0
  26. package/android/src/main/res/layout/bannner.xml +14 -0
  27. package/android/src/main/res/layout/bottom_dialog.xml +37 -0
  28. package/android/src/main/res/layout/bottomsheet.xml +8 -0
  29. package/android/src/main/res/layout/customerbannermsg.xml +37 -0
  30. package/android/src/main/res/layout/detail_alert.xml +21 -0
  31. package/android/src/main/res/layout/floating_banner.xml +11 -0
  32. package/android/src/main/res/layout/floating_draggable_button.xml +17 -0
  33. package/android/src/main/res/layout/fragment_bottom_sheet_dialog.xml +21 -0
  34. package/android/src/main/res/layout/image_banner.xml +10 -0
  35. package/android/src/main/res/layout/middle_dialog.xml +42 -0
  36. package/android/src/main/res/layout/rewards.xml +31 -0
  37. package/android/src/main/res/layout/web_activity.xml +43 -0
  38. package/android/src/main/res/values/colors.xml +13 -0
  39. package/android/src/main/res/values/themes.xml +16 -0
  40. package/android/src/main/res/xml/provider_path.xml +4 -0
  41. package/ios/CustomPlayer.m +25 -0
  42. package/ios/Rncustomerglu-Bridging-Header.h +4 -0
  43. package/ios/Rncustomerglu.m +50 -0
  44. package/ios/Rncustomerglu.swift +341 -0
  45. package/ios/Rncustomerglu.xcodeproj/project.pbxproj +293 -0
  46. package/ios/Rncustomerglu.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -0
  47. package/lib/commonjs/index.js +184 -0
  48. package/lib/commonjs/index.js.map +1 -0
  49. package/lib/module/index.js +117 -0
  50. package/lib/module/index.js.map +1 -0
  51. package/lib/typescript/index.d.ts +35 -0
  52. package/package.json +157 -0
  53. package/react-native-rncustomerglu.podspec +24 -0
  54. package/src/index.tsx +146 -0
@@ -0,0 +1,341 @@
1
+ import Foundation
2
+ import CustomerGlu
3
+ import UIKit
4
+ import React
5
+
6
+ let customerGlu = CustomerGlu.getInstance
7
+ @objc(Rncustomerglu)
8
+ class Rncustomerglu: RCTEventEmitter{
9
+ static var shared:Rncustomerglu?
10
+
11
+ private var supportedEventNames: Set<String> = ["CUSTOMERGLU_ANALYTICS_EVENT","CUSTOMERGLU_DEEPLINK_EVENT","CGBANNER_FINAL_HEIGHT","CUSTOMERGLU_BANNER_LOADED"]
12
+ private var hasAttachedListener = true
13
+
14
+
15
+
16
+ override init() {
17
+ super.init()
18
+ Rncustomerglu.shared = self
19
+
20
+ NotificationCenter.default.addObserver(self, selector: #selector(self.catchAnalyticsNotification(notification:)), name: Notification.Name("CUSTOMERGLU_ANALYTICS_EVENT"), object: nil)
21
+
22
+ NotificationCenter.default.addObserver(self, selector: #selector(self.catchAnalyticsNotification(notification:)), name: Notification.Name("CUSTOMERGLU_DEEPLINK_EVENT"), object: nil)
23
+
24
+ NotificationCenter.default.addObserver(self, selector: #selector(self.catchAnalyticsNotification(notification:)), name: Notification.Name("CUSTOMERGLU_BANNER_LOADED"), object: nil)
25
+
26
+ NotificationCenter.default.addObserver(self, selector: #selector(self.catchAnalyticsNotification(notification:)), name: Notification.Name("CGBANNER_FINAL_HEIGHT"), object: nil)
27
+ }
28
+
29
+ override func startObserving() {
30
+ hasAttachedListener = true
31
+ }
32
+ override func stopObserving() {
33
+ hasAttachedListener = false
34
+ }
35
+
36
+ // Must return an array of the supported events. Any unsupported events will throw errors
37
+ // if they are passed in to `sendEvent`
38
+ override func supportedEvents() -> [String] {
39
+ return Array(supportedEventNames)
40
+ }
41
+
42
+
43
+ func emitEvent(withName name: String, body: Any!) {
44
+ if hasAttachedListener && supportedEventNames.contains(name) {
45
+ print("3rd notification call");
46
+ sendEvent(withName: name, body: body)
47
+ }
48
+ }
49
+
50
+
51
+ @objc func registerDevice(_ userdata:NSDictionary, resolver resolve: @escaping RCTPromiseResolveBlock, rejecter reject: @escaping RCTPromiseRejectBlock) -> Void {
52
+ customerGlu.registerDevice(userdata: userdata as! [String : AnyHashable],loadcampaigns: true) { success in
53
+ if success {
54
+ resolve(true)
55
+ } else {
56
+ resolve(false)
57
+ }
58
+ }
59
+ }
60
+
61
+
62
+ @objc(dataClear)
63
+ func dataClear() -> Void {
64
+ DispatchQueue.main.async {
65
+ customerGlu.clearGluData();
66
+ }
67
+ }
68
+
69
+ @objc
70
+ func sendData(_ property:NSDictionary) -> Void {
71
+ customerGlu.sendEventData(eventName: property["eventName"] as! String , eventProperties: property["eventProperties"] as? [String : Any])
72
+ }
73
+
74
+ @objc
75
+ func openWallet(_ bool:Bool) -> Void {
76
+ customerGlu.openWallet(auto_close_webview: bool)
77
+ }
78
+
79
+ @objc
80
+ func loadCampaignIdBy(_ id:String, auto_close_webview bool:Bool) -> Void {
81
+ customerGlu.loadCampaignById(campaign_id: id, auto_close_webview: bool)
82
+ }
83
+
84
+ @objc
85
+ func enableAnalytic(_ bool:Bool) -> Void {
86
+ customerGlu.enableAnalyticsEvent(event: bool)
87
+ }
88
+ @objc func catchAnalyticsNotification(notification: NSNotification) {
89
+ if("CGBANNER_FINAL_HEIGHT" == notification.name.rawValue){
90
+ let height = CustomerGlu.bannersHeight
91
+ Rncustomerglu.shared?.emitEvent(withName: notification.name.rawValue, body: height)
92
+ }else{
93
+ Rncustomerglu.shared?.emitEvent(withName: notification.name.rawValue, body: notification.userInfo)
94
+ }
95
+ }
96
+
97
+ @objc func disableGluSdk(_ bool:Bool) -> Void {
98
+ customerGlu.disableGluSdk(disable: bool)
99
+ }
100
+
101
+ @objc
102
+ func configureLoaderColour(_ colr: String) -> Void {
103
+ let color = colorWithHexString(hexString: colr )
104
+ customerGlu.configureLoaderColour(color: [color])
105
+ }
106
+
107
+ @objc
108
+ func enablePrecaching() -> Void {
109
+
110
+ }
111
+
112
+
113
+ @objc
114
+ func gluSDKDebuggingMode(_ bool:Bool) -> Void {
115
+ customerGlu.gluSDKDebuggingMode(enabled: bool)
116
+ print(bool);
117
+ }
118
+
119
+ @objc
120
+ func enableEntryPoints(_ bool:Bool) -> Void {
121
+ customerGlu.enableEntryPoints(enabled:bool)
122
+ print(bool);
123
+ }
124
+
125
+
126
+ @objc
127
+ func closeWebView(_ bool:Bool) -> Void {
128
+ customerGlu.closeWebviewOnDeeplinkEvent(close: bool);
129
+
130
+ }
131
+
132
+
133
+
134
+ @objc
135
+ func isFcmApn(_ fcm:String) -> Void {
136
+ customerGlu.isFcmApn(fcmApn:fcm)
137
+ }
138
+
139
+ @objc
140
+ func setApnFcmToken(_ apn:String, fcmToken fcm: String ) -> Void {
141
+ customerGlu.apnToken=apn
142
+ customerGlu.fcmToken=fcm
143
+ }
144
+
145
+
146
+ @objc
147
+ func configureSafeArea(_ safe:NSDictionary) -> Void {
148
+ let color1 = colorWithHexString(hexString: safe["topSafeAreaColor"] as! String )
149
+ let color2 = colorWithHexString(hexString: safe["bottomSafeAreaColor"] as! String )
150
+ customerGlu.configureSafeArea(topHeight: safe["topHeight"] as! Int, bottomHeight: safe["bottomHeight"] as! Int, topSafeAreaColor: color1, bottomSafeAreaColor: color2)
151
+ }
152
+
153
+
154
+ @objc
155
+ func SetDefaultBannerImage(_ url: String) -> Void {
156
+ DispatchQueue.main.async {
157
+ customerGlu.setDefaultBannerImage(bannerUrl: url)
158
+ }
159
+ }
160
+
161
+
162
+ @objc
163
+ func UpdateProfile(_ userdata:NSDictionary, resolver resolve: @escaping RCTPromiseResolveBlock, rejecter reject: @escaping RCTPromiseRejectBlock) -> Void {
164
+ customerGlu.updateProfile(userdata: userdata as! [String : AnyHashable]) { success in
165
+ if success {
166
+ } else {
167
+ }
168
+ }
169
+ }
170
+
171
+ @objc
172
+ func DisplayCustomerGluNotification() -> Void {
173
+
174
+ }
175
+
176
+
177
+
178
+ @objc
179
+ func CGApplication(_ userInfo:NSDictionary) -> Void {
180
+ func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
181
+ // autoclosewebview - If True then it will dismiss the webview on Deeplink Event.
182
+ CustomerGlu.getInstance.cgapplication(application, didReceiveRemoteNotification: userInfo, backgroundAlpha: 0.5 ,auto_close_webview:false,fetchCompletionHandler: completionHandler) }
183
+ }
184
+
185
+
186
+
187
+
188
+ @objc func DisplayBackGroundNotification(_ obj:NSDictionary, auto_close_webview bool:Bool) -> Void {
189
+ DispatchQueue.main.async {
190
+ customerGlu.displayBackgroundNotification(remoteMessage: obj as! [String : AnyHashable], auto_close_webview: bool );
191
+ }
192
+ }
193
+
194
+
195
+
196
+ @objc
197
+ func GetRefferalId(_ url:URL, resolver resolve: @escaping RCTPromiseResolveBlock, rejecter reject: @escaping RCTPromiseRejectBlock) -> Void {
198
+ let refferId = customerGlu.getReferralId(deepLink: url)
199
+ resolve(refferId)
200
+ }
201
+
202
+ @objc
203
+ func LoadAllCampagins() -> Void {
204
+ DispatchQueue.main.async {
205
+ customerGlu.loadAllCampaigns()
206
+ }
207
+ }
208
+
209
+ @objc
210
+ func LoadCampaginsByFilter(_ obj:NSDictionary) -> Void {
211
+ DispatchQueue.main.async {
212
+ customerGlu.loadCampaignByFilter(parameters: obj)
213
+ }
214
+ }
215
+
216
+ @objc
217
+ func SetCurrentClassName(_ clName:String) -> Void {
218
+ DispatchQueue.main.async {
219
+ customerGlu.setCurrentClassName(className: clName)
220
+ }
221
+ }
222
+
223
+ @objc
224
+ func OpenWalletWithUrl(_ url:String) -> Void {
225
+ DispatchQueue.main.async {
226
+ customerGlu.openWalletWithURL(url: url)
227
+ }
228
+ }
229
+
230
+
231
+ @objc
232
+ func configureWhiteListedDomains(_ domain:NSArray) -> Void {
233
+ customerGlu.configureWhiteListedDomains(domains: domain as! [String])
234
+
235
+ }
236
+
237
+ @objc
238
+ func configureDomainCodeMsg(_ codemsg: NSDictionary) -> Void {
239
+ customerGlu.configureDomainCodeMsg(code: codemsg["code"] as! Int, message: codemsg["msg"] as! String)
240
+ }
241
+
242
+ @objc
243
+ func getBannerHeight() {
244
+ // NotificationCenter.default.addObserver(self, selector: #selector(self.catchBannerHeightNotification(notification:)), name: Notification.Name("CGBANNER_FINAL_HEIGHT"), object: nil)
245
+
246
+ }
247
+
248
+ // @objc
249
+ // func catchBannerHeightNotification(notification: NSNotification) {
250
+ //
251
+ // }
252
+
253
+
254
+ override class func requiresMainQueueSetup() -> Bool {
255
+ return false
256
+ }
257
+
258
+
259
+
260
+ private func colorWithHexString(hexString: String) -> UIColor {
261
+
262
+ // Convert hex string to an integer
263
+
264
+ let hexint = Int(self.intFromHexString(hexStr: hexString))
265
+
266
+ let red = CGFloat((hexint & 0xff0000) >> 16) / 255.0
267
+
268
+ let green = CGFloat((hexint & 0xff00) >> 8) / 255.0
269
+
270
+ let blue = CGFloat((hexint & 0xff) >> 0) / 255.0
271
+
272
+ // Create color object, specifying alpha as well
273
+
274
+ let color = UIColor(red: red, green: green, blue: blue, alpha: 1.0)
275
+
276
+ return color
277
+
278
+ }
279
+
280
+
281
+
282
+ private func intFromHexString(hexStr: String) -> UInt32 {
283
+
284
+ var hexInt: UInt32 = 0
285
+
286
+ // Create scanner
287
+
288
+ let scanner: Scanner = Scanner(string: hexStr)
289
+
290
+ // Tell scanner to skip the # character
291
+
292
+ scanner.charactersToBeSkipped = CharacterSet(charactersIn: "#")
293
+
294
+ // Scan hex value
295
+
296
+ scanner.scanHexInt32(&hexInt)
297
+
298
+ return hexInt
299
+
300
+ }
301
+
302
+ }
303
+
304
+
305
+
306
+
307
+ @objc(BannerWidget)
308
+ class BannerWidget: RCTViewManager {
309
+ override func view() -> UIView! {
310
+ return MyNativeView()
311
+ }
312
+ override static func requiresMainQueueSetup() -> Bool {
313
+ return true
314
+ }
315
+ }
316
+
317
+
318
+ // Custom View (Swift)
319
+ @objc
320
+ class MyNativeView: UIView {
321
+ @objc var bannerId = "" {
322
+ didSet {
323
+ DispatchQueue.main.asyncAfter(deadline: .now()) { [self] in
324
+ let bannerview = BannerView(frame: CGRect(x: 10, y: 0, width: UIScreen.main.bounds.width - 20 , height: 0), bannerId: bannerId)
325
+ self.addSubview(bannerview)
326
+ }
327
+
328
+ }
329
+ }
330
+ override init(frame: CGRect) {
331
+ super.init(frame: frame)
332
+
333
+
334
+ }
335
+ required init?(coder aDecoder: NSCoder) {
336
+ fatalError("init(coder:) has not been implemented")
337
+ }
338
+
339
+
340
+ }
341
+
@@ -0,0 +1,293 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+
11
+ 5E555C0D2413F4C50049A1A2 /* Rncustomerglu.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* Rncustomerglu.m */; };
12
+ F4FF95D7245B92E800C19C63 /* Rncustomerglu.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* Rncustomerglu.swift */; };
13
+
14
+ /* End PBXBuildFile section */
15
+
16
+ /* Begin PBXCopyFilesBuildPhase section */
17
+ 58B511D91A9E6C8500147676 /* CopyFiles */ = {
18
+ isa = PBXCopyFilesBuildPhase;
19
+ buildActionMask = 2147483647;
20
+ dstPath = "include/$(PRODUCT_NAME)";
21
+ dstSubfolderSpec = 16;
22
+ files = (
23
+ );
24
+ runOnlyForDeploymentPostprocessing = 0;
25
+ };
26
+ /* End PBXCopyFilesBuildPhase section */
27
+
28
+ /* Begin PBXFileReference section */
29
+ 134814201AA4EA6300B7C361 /* libRncustomerglu.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRncustomerglu.a; sourceTree = BUILT_PRODUCTS_DIR; };
30
+
31
+ B3E7B5891CC2AC0600A0062D /* Rncustomerglu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Rncustomerglu.m; sourceTree = "<group>"; };
32
+ F4FF95D5245B92E700C19C63 /* Rncustomerglu-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Rncustomerglu-Bridging-Header.h"; sourceTree = "<group>"; };
33
+ F4FF95D6245B92E800C19C63 /* Rncustomerglu.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Rncustomerglu.swift; sourceTree = "<group>"; };
34
+
35
+ /* End PBXFileReference section */
36
+
37
+ /* Begin PBXFrameworksBuildPhase section */
38
+ 58B511D81A9E6C8500147676 /* Frameworks */ = {
39
+ isa = PBXFrameworksBuildPhase;
40
+ buildActionMask = 2147483647;
41
+ files = (
42
+ );
43
+ runOnlyForDeploymentPostprocessing = 0;
44
+ };
45
+ /* End PBXFrameworksBuildPhase section */
46
+
47
+ /* Begin PBXGroup section */
48
+ 134814211AA4EA7D00B7C361 /* Products */ = {
49
+ isa = PBXGroup;
50
+ children = (
51
+ 134814201AA4EA6300B7C361 /* libRncustomerglu.a */,
52
+ );
53
+ name = Products;
54
+ sourceTree = "<group>";
55
+ };
56
+ 58B511D21A9E6C8500147676 = {
57
+ isa = PBXGroup;
58
+ children = (
59
+
60
+ F4FF95D6245B92E800C19C63 /* Rncustomerglu.swift */,
61
+ B3E7B5891CC2AC0600A0062D /* Rncustomerglu.m */,
62
+ F4FF95D5245B92E700C19C63 /* Rncustomerglu-Bridging-Header.h */,
63
+
64
+ 134814211AA4EA7D00B7C361 /* Products */,
65
+ );
66
+ sourceTree = "<group>";
67
+ };
68
+ /* End PBXGroup section */
69
+
70
+ /* Begin PBXNativeTarget section */
71
+ 58B511DA1A9E6C8500147676 /* Rncustomerglu */ = {
72
+ isa = PBXNativeTarget;
73
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "Rncustomerglu" */;
74
+ buildPhases = (
75
+ 58B511D71A9E6C8500147676 /* Sources */,
76
+ 58B511D81A9E6C8500147676 /* Frameworks */,
77
+ 58B511D91A9E6C8500147676 /* CopyFiles */,
78
+ );
79
+ buildRules = (
80
+ );
81
+ dependencies = (
82
+ );
83
+ name = Rncustomerglu;
84
+ productName = RCTDataManager;
85
+ productReference = 134814201AA4EA6300B7C361 /* libRncustomerglu.a */;
86
+ productType = "com.apple.product-type.library.static";
87
+ };
88
+ /* End PBXNativeTarget section */
89
+
90
+ /* Begin PBXProject section */
91
+ 58B511D31A9E6C8500147676 /* Project object */ = {
92
+ isa = PBXProject;
93
+ attributes = {
94
+ LastUpgradeCheck = 0920;
95
+ ORGANIZATIONNAME = Facebook;
96
+ TargetAttributes = {
97
+ 58B511DA1A9E6C8500147676 = {
98
+ CreatedOnToolsVersion = 6.1.1;
99
+ };
100
+ };
101
+ };
102
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "Rncustomerglu" */;
103
+ compatibilityVersion = "Xcode 3.2";
104
+ developmentRegion = English;
105
+ hasScannedForEncodings = 0;
106
+ knownRegions = (
107
+ English,
108
+ en,
109
+ );
110
+ mainGroup = 58B511D21A9E6C8500147676;
111
+ productRefGroup = 58B511D21A9E6C8500147676;
112
+ projectDirPath = "";
113
+ projectRoot = "";
114
+ targets = (
115
+ 58B511DA1A9E6C8500147676 /* Rncustomerglu */,
116
+ );
117
+ };
118
+ /* End PBXProject section */
119
+
120
+ /* Begin PBXSourcesBuildPhase section */
121
+ 58B511D71A9E6C8500147676 /* Sources */ = {
122
+ isa = PBXSourcesBuildPhase;
123
+ buildActionMask = 2147483647;
124
+ files = (
125
+
126
+ F4FF95D7245B92E800C19C63 /* Rncustomerglu.swift in Sources */,
127
+ B3E7B58A1CC2AC0600A0062D /* Rncustomerglu.m in Sources */,
128
+
129
+ );
130
+ runOnlyForDeploymentPostprocessing = 0;
131
+ };
132
+ /* End PBXSourcesBuildPhase section */
133
+
134
+ /* Begin XCBuildConfiguration section */
135
+ 58B511ED1A9E6C8500147676 /* Debug */ = {
136
+ isa = XCBuildConfiguration;
137
+ buildSettings = {
138
+ ALWAYS_SEARCH_USER_PATHS = NO;
139
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
140
+ CLANG_CXX_LIBRARY = "libc++";
141
+ CLANG_ENABLE_MODULES = YES;
142
+ CLANG_ENABLE_OBJC_ARC = YES;
143
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
144
+ CLANG_WARN_BOOL_CONVERSION = YES;
145
+ CLANG_WARN_COMMA = YES;
146
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
147
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
148
+ CLANG_WARN_EMPTY_BODY = YES;
149
+ CLANG_WARN_ENUM_CONVERSION = YES;
150
+ CLANG_WARN_INFINITE_RECURSION = YES;
151
+ CLANG_WARN_INT_CONVERSION = YES;
152
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
153
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
154
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
155
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
156
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
157
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
158
+ CLANG_WARN_UNREACHABLE_CODE = YES;
159
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
160
+ COPY_PHASE_STRIP = NO;
161
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
162
+ ENABLE_TESTABILITY = YES;
163
+ GCC_C_LANGUAGE_STANDARD = gnu99;
164
+ GCC_DYNAMIC_NO_PIC = NO;
165
+ GCC_NO_COMMON_BLOCKS = YES;
166
+ GCC_OPTIMIZATION_LEVEL = 0;
167
+ GCC_PREPROCESSOR_DEFINITIONS = (
168
+ "DEBUG=1",
169
+ "$(inherited)",
170
+ );
171
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
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
+ 58B511EE1A9E6C8500147676 /* Release */ = {
186
+ isa = XCBuildConfiguration;
187
+ buildSettings = {
188
+ ALWAYS_SEARCH_USER_PATHS = NO;
189
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
190
+ CLANG_CXX_LIBRARY = "libc++";
191
+ CLANG_ENABLE_MODULES = YES;
192
+ CLANG_ENABLE_OBJC_ARC = YES;
193
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
194
+ CLANG_WARN_BOOL_CONVERSION = YES;
195
+ CLANG_WARN_COMMA = YES;
196
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
197
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
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_NON_LITERAL_NULL_CONVERSION = YES;
203
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
204
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
205
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
206
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
207
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
208
+ CLANG_WARN_UNREACHABLE_CODE = YES;
209
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
210
+ COPY_PHASE_STRIP = YES;
211
+ ENABLE_NS_ASSERTIONS = NO;
212
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
213
+ GCC_C_LANGUAGE_STANDARD = gnu99;
214
+ GCC_NO_COMMON_BLOCKS = YES;
215
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
216
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
217
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
218
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
219
+ GCC_WARN_UNUSED_FUNCTION = YES;
220
+ GCC_WARN_UNUSED_VARIABLE = YES;
221
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
222
+ MTL_ENABLE_DEBUG_INFO = NO;
223
+ SDKROOT = iphoneos;
224
+ VALIDATE_PRODUCT = YES;
225
+ };
226
+ name = Release;
227
+ };
228
+ 58B511F01A9E6C8500147676 /* Debug */ = {
229
+ isa = XCBuildConfiguration;
230
+ buildSettings = {
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
+ LIBRARY_SEARCH_PATHS = "$(inherited)";
238
+ OTHER_LDFLAGS = "-ObjC";
239
+ PRODUCT_NAME = Rncustomerglu;
240
+ SKIP_INSTALL = YES;
241
+
242
+ SWIFT_OBJC_BRIDGING_HEADER = "Rncustomerglu-Bridging-Header.h";
243
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
244
+ SWIFT_VERSION = 5.0;
245
+
246
+ };
247
+ name = Debug;
248
+ };
249
+ 58B511F11A9E6C8500147676 /* Release */ = {
250
+ isa = XCBuildConfiguration;
251
+ buildSettings = {
252
+ HEADER_SEARCH_PATHS = (
253
+ "$(inherited)",
254
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
255
+ "$(SRCROOT)/../../../React/**",
256
+ "$(SRCROOT)/../../react-native/React/**",
257
+ );
258
+ LIBRARY_SEARCH_PATHS = "$(inherited)";
259
+ OTHER_LDFLAGS = "-ObjC";
260
+ PRODUCT_NAME = Rncustomerglu;
261
+ SKIP_INSTALL = YES;
262
+
263
+ SWIFT_OBJC_BRIDGING_HEADER = "Rncustomerglu-Bridging-Header.h";
264
+ SWIFT_VERSION = 5.0;
265
+
266
+ };
267
+ name = Release;
268
+ };
269
+ /* End XCBuildConfiguration section */
270
+
271
+ /* Begin XCConfigurationList section */
272
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "Rncustomerglu" */ = {
273
+ isa = XCConfigurationList;
274
+ buildConfigurations = (
275
+ 58B511ED1A9E6C8500147676 /* Debug */,
276
+ 58B511EE1A9E6C8500147676 /* Release */,
277
+ );
278
+ defaultConfigurationIsVisible = 0;
279
+ defaultConfigurationName = Release;
280
+ };
281
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "Rncustomerglu" */ = {
282
+ isa = XCConfigurationList;
283
+ buildConfigurations = (
284
+ 58B511F01A9E6C8500147676 /* Debug */,
285
+ 58B511F11A9E6C8500147676 /* Release */,
286
+ );
287
+ defaultConfigurationIsVisible = 0;
288
+ defaultConfigurationName = Release;
289
+ };
290
+ /* End XCConfigurationList section */
291
+ };
292
+ rootObject = 58B511D31A9E6C8500147676 /* Project object */;
293
+ }
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ </Workspace>