@pnlight/sdk-react-native 0.3.8 → 0.4.1

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 (34) hide show
  1. package/PNLight.xcframework/Info.plist +5 -5
  2. package/PNLight.xcframework/ios-arm64/PNLight.framework/Headers/PNLight-Swift.h +2 -0
  3. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  4. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.abi.json +1019 -47
  5. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.private.swiftinterface +35 -1
  6. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  7. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.swiftinterface +35 -1
  8. package/PNLight.xcframework/ios-arm64/PNLight.framework/PNLight +0 -0
  9. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Headers/PNLight-Swift.h +4 -0
  10. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  11. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  12. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.abi.json +1019 -47
  13. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +35 -1
  14. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  15. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.swiftinterface +35 -1
  16. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.abi.json +1019 -47
  17. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +35 -1
  18. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  19. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +35 -1
  20. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/PNLight +0 -0
  21. package/PNLightSDK-ReactNative.podspec +5 -2
  22. package/RemoteUiView.js +43 -0
  23. package/app.plugin.js +3 -0
  24. package/index.d.ts +34 -1
  25. package/index.js +18 -2
  26. package/ios/PNLightSDK.m +2 -0
  27. package/ios/PNLightSDK.swift +43 -2
  28. package/ios/RemoteUiView.swift +161 -0
  29. package/ios/RemoteUiViewManager.m +6 -0
  30. package/ios/RemoteUiViewManager.swift +18 -0
  31. package/package.json +39 -26
  32. package/plugin/index.js +17 -0
  33. package/plugin/withIos.js +39 -0
  34. package/README.md +0 -83
@@ -32,6 +32,13 @@
32
32
  "declKind": "Import",
33
33
  "moduleName": "PNLight"
34
34
  },
35
+ {
36
+ "kind": "Import",
37
+ "name": "Foundation",
38
+ "printedName": "Foundation",
39
+ "declKind": "Import",
40
+ "moduleName": "PNLight"
41
+ },
35
42
  {
36
43
  "kind": "Import",
37
44
  "name": "UIKit",
@@ -165,6 +172,189 @@
165
172
  "declKind": "Import",
166
173
  "moduleName": "PNLight"
167
174
  },
175
+ {
176
+ "kind": "TypeDecl",
177
+ "name": "UIConfig",
178
+ "printedName": "UIConfig",
179
+ "children": [
180
+ {
181
+ "kind": "Var",
182
+ "name": "config",
183
+ "printedName": "config",
184
+ "children": [
185
+ {
186
+ "kind": "TypeNominal",
187
+ "name": "Optional",
188
+ "printedName": "Swift.String?",
189
+ "children": [
190
+ {
191
+ "kind": "TypeNominal",
192
+ "name": "String",
193
+ "printedName": "Swift.String",
194
+ "usr": "s:SS"
195
+ }
196
+ ],
197
+ "usr": "s:Sq"
198
+ }
199
+ ],
200
+ "declKind": "Var",
201
+ "usr": "s:7PNLight8UIConfigV6configSSSgvp",
202
+ "mangledName": "$s7PNLight8UIConfigV6configSSSgvp",
203
+ "moduleName": "PNLight",
204
+ "declAttributes": [
205
+ "HasStorage",
206
+ "AccessControl"
207
+ ],
208
+ "isLet": true,
209
+ "hasStorage": true,
210
+ "accessors": [
211
+ {
212
+ "kind": "Accessor",
213
+ "name": "Get",
214
+ "printedName": "Get()",
215
+ "children": [
216
+ {
217
+ "kind": "TypeNominal",
218
+ "name": "Optional",
219
+ "printedName": "Swift.String?",
220
+ "children": [
221
+ {
222
+ "kind": "TypeNominal",
223
+ "name": "String",
224
+ "printedName": "Swift.String",
225
+ "usr": "s:SS"
226
+ }
227
+ ],
228
+ "usr": "s:Sq"
229
+ }
230
+ ],
231
+ "declKind": "Accessor",
232
+ "usr": "s:7PNLight8UIConfigV6configSSSgvg",
233
+ "mangledName": "$s7PNLight8UIConfigV6configSSSgvg",
234
+ "moduleName": "PNLight",
235
+ "implicit": true,
236
+ "accessorKind": "get"
237
+ }
238
+ ]
239
+ },
240
+ {
241
+ "kind": "Var",
242
+ "name": "parameters",
243
+ "printedName": "parameters",
244
+ "children": [
245
+ {
246
+ "kind": "TypeNominal",
247
+ "name": "Optional",
248
+ "printedName": "[Swift.String : Any]?",
249
+ "children": [
250
+ {
251
+ "kind": "TypeNominal",
252
+ "name": "Dictionary",
253
+ "printedName": "[Swift.String : Any]",
254
+ "children": [
255
+ {
256
+ "kind": "TypeNominal",
257
+ "name": "String",
258
+ "printedName": "Swift.String",
259
+ "usr": "s:SS"
260
+ },
261
+ {
262
+ "kind": "TypeNominal",
263
+ "name": "ProtocolComposition",
264
+ "printedName": "Any"
265
+ }
266
+ ],
267
+ "usr": "s:SD"
268
+ }
269
+ ],
270
+ "usr": "s:Sq"
271
+ }
272
+ ],
273
+ "declKind": "Var",
274
+ "usr": "s:7PNLight8UIConfigV10parametersSDySSypGSgvp",
275
+ "mangledName": "$s7PNLight8UIConfigV10parametersSDySSypGSgvp",
276
+ "moduleName": "PNLight",
277
+ "declAttributes": [
278
+ "HasStorage",
279
+ "AccessControl"
280
+ ],
281
+ "isLet": true,
282
+ "hasStorage": true,
283
+ "accessors": [
284
+ {
285
+ "kind": "Accessor",
286
+ "name": "Get",
287
+ "printedName": "Get()",
288
+ "children": [
289
+ {
290
+ "kind": "TypeNominal",
291
+ "name": "Optional",
292
+ "printedName": "[Swift.String : Any]?",
293
+ "children": [
294
+ {
295
+ "kind": "TypeNominal",
296
+ "name": "Dictionary",
297
+ "printedName": "[Swift.String : Any]",
298
+ "children": [
299
+ {
300
+ "kind": "TypeNominal",
301
+ "name": "String",
302
+ "printedName": "Swift.String",
303
+ "usr": "s:SS"
304
+ },
305
+ {
306
+ "kind": "TypeNominal",
307
+ "name": "ProtocolComposition",
308
+ "printedName": "Any"
309
+ }
310
+ ],
311
+ "usr": "s:SD"
312
+ }
313
+ ],
314
+ "usr": "s:Sq"
315
+ }
316
+ ],
317
+ "declKind": "Accessor",
318
+ "usr": "s:7PNLight8UIConfigV10parametersSDySSypGSgvg",
319
+ "mangledName": "$s7PNLight8UIConfigV10parametersSDySSypGSgvg",
320
+ "moduleName": "PNLight",
321
+ "implicit": true,
322
+ "accessorKind": "get"
323
+ }
324
+ ]
325
+ }
326
+ ],
327
+ "declKind": "Struct",
328
+ "usr": "s:7PNLight8UIConfigV",
329
+ "mangledName": "$s7PNLight8UIConfigV",
330
+ "moduleName": "PNLight",
331
+ "declAttributes": [
332
+ "AccessControl"
333
+ ],
334
+ "conformances": [
335
+ {
336
+ "kind": "Conformance",
337
+ "name": "Copyable",
338
+ "printedName": "Copyable",
339
+ "usr": "s:s8CopyableP",
340
+ "mangledName": "$ss8CopyableP"
341
+ },
342
+ {
343
+ "kind": "Conformance",
344
+ "name": "Escapable",
345
+ "printedName": "Escapable",
346
+ "usr": "s:s9EscapableP",
347
+ "mangledName": "$ss9EscapableP"
348
+ }
349
+ ]
350
+ },
351
+ {
352
+ "kind": "Import",
353
+ "name": "Foundation",
354
+ "printedName": "Foundation",
355
+ "declKind": "Import",
356
+ "moduleName": "PNLight"
357
+ },
168
358
  {
169
359
  "kind": "Import",
170
360
  "name": "Security",
@@ -200,6 +390,182 @@
200
390
  "declKind": "Import",
201
391
  "moduleName": "PNLight"
202
392
  },
393
+ {
394
+ "kind": "TypeDecl",
395
+ "name": "PNLightConfig",
396
+ "printedName": "PNLightConfig",
397
+ "children": [
398
+ {
399
+ "kind": "Var",
400
+ "name": "baseDomain",
401
+ "printedName": "baseDomain",
402
+ "children": [
403
+ {
404
+ "kind": "TypeNominal",
405
+ "name": "Optional",
406
+ "printedName": "Swift.String?",
407
+ "children": [
408
+ {
409
+ "kind": "TypeNominal",
410
+ "name": "String",
411
+ "printedName": "Swift.String",
412
+ "usr": "s:SS"
413
+ }
414
+ ],
415
+ "usr": "s:Sq"
416
+ }
417
+ ],
418
+ "declKind": "Var",
419
+ "usr": "s:7PNLight0A6ConfigV10baseDomainSSSgvp",
420
+ "mangledName": "$s7PNLight0A6ConfigV10baseDomainSSSgvp",
421
+ "moduleName": "PNLight",
422
+ "declAttributes": [
423
+ "HasInitialValue",
424
+ "HasStorage",
425
+ "AccessControl"
426
+ ],
427
+ "hasStorage": true,
428
+ "accessors": [
429
+ {
430
+ "kind": "Accessor",
431
+ "name": "Get",
432
+ "printedName": "Get()",
433
+ "children": [
434
+ {
435
+ "kind": "TypeNominal",
436
+ "name": "Optional",
437
+ "printedName": "Swift.String?",
438
+ "children": [
439
+ {
440
+ "kind": "TypeNominal",
441
+ "name": "String",
442
+ "printedName": "Swift.String",
443
+ "usr": "s:SS"
444
+ }
445
+ ],
446
+ "usr": "s:Sq"
447
+ }
448
+ ],
449
+ "declKind": "Accessor",
450
+ "usr": "s:7PNLight0A6ConfigV10baseDomainSSSgvg",
451
+ "mangledName": "$s7PNLight0A6ConfigV10baseDomainSSSgvg",
452
+ "moduleName": "PNLight",
453
+ "implicit": true,
454
+ "accessorKind": "get"
455
+ },
456
+ {
457
+ "kind": "Accessor",
458
+ "name": "Set",
459
+ "printedName": "Set()",
460
+ "children": [
461
+ {
462
+ "kind": "TypeNominal",
463
+ "name": "Void",
464
+ "printedName": "()"
465
+ },
466
+ {
467
+ "kind": "TypeNominal",
468
+ "name": "Optional",
469
+ "printedName": "Swift.String?",
470
+ "children": [
471
+ {
472
+ "kind": "TypeNominal",
473
+ "name": "String",
474
+ "printedName": "Swift.String",
475
+ "usr": "s:SS"
476
+ }
477
+ ],
478
+ "usr": "s:Sq"
479
+ }
480
+ ],
481
+ "declKind": "Accessor",
482
+ "usr": "s:7PNLight0A6ConfigV10baseDomainSSSgvs",
483
+ "mangledName": "$s7PNLight0A6ConfigV10baseDomainSSSgvs",
484
+ "moduleName": "PNLight",
485
+ "implicit": true,
486
+ "accessorKind": "set"
487
+ },
488
+ {
489
+ "kind": "Accessor",
490
+ "name": "Modify",
491
+ "printedName": "Modify()",
492
+ "children": [
493
+ {
494
+ "kind": "TypeNominal",
495
+ "name": "Void",
496
+ "printedName": "()"
497
+ }
498
+ ],
499
+ "declKind": "Accessor",
500
+ "usr": "s:7PNLight0A6ConfigV10baseDomainSSSgvM",
501
+ "mangledName": "$s7PNLight0A6ConfigV10baseDomainSSSgvM",
502
+ "moduleName": "PNLight",
503
+ "implicit": true,
504
+ "accessorKind": "_modify"
505
+ }
506
+ ]
507
+ },
508
+ {
509
+ "kind": "Constructor",
510
+ "name": "init",
511
+ "printedName": "init(baseDomain:)",
512
+ "children": [
513
+ {
514
+ "kind": "TypeNominal",
515
+ "name": "PNLightConfig",
516
+ "printedName": "PNLight.PNLightConfig",
517
+ "usr": "s:7PNLight0A6ConfigV"
518
+ },
519
+ {
520
+ "kind": "TypeNominal",
521
+ "name": "Optional",
522
+ "printedName": "Swift.String?",
523
+ "children": [
524
+ {
525
+ "kind": "TypeNominal",
526
+ "name": "String",
527
+ "printedName": "Swift.String",
528
+ "usr": "s:SS"
529
+ }
530
+ ],
531
+ "hasDefaultArg": true,
532
+ "usr": "s:Sq"
533
+ }
534
+ ],
535
+ "declKind": "Constructor",
536
+ "usr": "s:7PNLight0A6ConfigV10baseDomainACSSSg_tcfc",
537
+ "mangledName": "$s7PNLight0A6ConfigV10baseDomainACSSSg_tcfc",
538
+ "moduleName": "PNLight",
539
+ "declAttributes": [
540
+ "AccessControl"
541
+ ],
542
+ "init_kind": "Designated"
543
+ }
544
+ ],
545
+ "declKind": "Struct",
546
+ "usr": "s:7PNLight0A6ConfigV",
547
+ "mangledName": "$s7PNLight0A6ConfigV",
548
+ "moduleName": "PNLight",
549
+ "declAttributes": [
550
+ "AccessControl"
551
+ ],
552
+ "conformances": [
553
+ {
554
+ "kind": "Conformance",
555
+ "name": "Copyable",
556
+ "printedName": "Copyable",
557
+ "usr": "s:s8CopyableP",
558
+ "mangledName": "$ss8CopyableP"
559
+ },
560
+ {
561
+ "kind": "Conformance",
562
+ "name": "Escapable",
563
+ "printedName": "Escapable",
564
+ "usr": "s:s9EscapableP",
565
+ "mangledName": "$ss9EscapableP"
566
+ }
567
+ ]
568
+ },
203
569
  {
204
570
  "kind": "TypeDecl",
205
571
  "name": "PNLightSDK",
@@ -211,76 +577,542 @@
211
577
  "printedName": "shared",
212
578
  "children": [
213
579
  {
214
- "kind": "TypeNominal",
215
- "name": "PNLightSDK",
216
- "printedName": "PNLight.PNLightSDK",
217
- "usr": "c:@M@PNLight@objc(cs)PNLightSDK"
580
+ "kind": "TypeNominal",
581
+ "name": "PNLightSDK",
582
+ "printedName": "PNLight.PNLightSDK",
583
+ "usr": "c:@M@PNLight@objc(cs)PNLightSDK"
584
+ }
585
+ ],
586
+ "declKind": "Var",
587
+ "usr": "s:7PNLight0A3SDKC6sharedACvpZ",
588
+ "mangledName": "$s7PNLight0A3SDKC6sharedACvpZ",
589
+ "moduleName": "PNLight",
590
+ "static": true,
591
+ "declAttributes": [
592
+ "HasInitialValue",
593
+ "Final",
594
+ "HasStorage",
595
+ "AccessControl"
596
+ ],
597
+ "isLet": true,
598
+ "hasStorage": true,
599
+ "accessors": [
600
+ {
601
+ "kind": "Accessor",
602
+ "name": "Get",
603
+ "printedName": "Get()",
604
+ "children": [
605
+ {
606
+ "kind": "TypeNominal",
607
+ "name": "PNLightSDK",
608
+ "printedName": "PNLight.PNLightSDK",
609
+ "usr": "c:@M@PNLight@objc(cs)PNLightSDK"
610
+ }
611
+ ],
612
+ "declKind": "Accessor",
613
+ "usr": "s:7PNLight0A3SDKC6sharedACvgZ",
614
+ "mangledName": "$s7PNLight0A3SDKC6sharedACvgZ",
615
+ "moduleName": "PNLight",
616
+ "static": true,
617
+ "implicit": true,
618
+ "declAttributes": [
619
+ "Final"
620
+ ],
621
+ "accessorKind": "get"
622
+ }
623
+ ]
624
+ },
625
+ {
626
+ "kind": "Function",
627
+ "name": "initialize",
628
+ "printedName": "initialize(apiKey:config:)",
629
+ "children": [
630
+ {
631
+ "kind": "TypeNominal",
632
+ "name": "Void",
633
+ "printedName": "()"
634
+ },
635
+ {
636
+ "kind": "TypeNominal",
637
+ "name": "String",
638
+ "printedName": "Swift.String",
639
+ "usr": "s:SS"
640
+ },
641
+ {
642
+ "kind": "TypeNominal",
643
+ "name": "Optional",
644
+ "printedName": "PNLight.PNLightConfig?",
645
+ "children": [
646
+ {
647
+ "kind": "TypeNominal",
648
+ "name": "PNLightConfig",
649
+ "printedName": "PNLight.PNLightConfig",
650
+ "usr": "s:7PNLight0A6ConfigV"
651
+ }
652
+ ],
653
+ "hasDefaultArg": true,
654
+ "usr": "s:Sq"
655
+ }
656
+ ],
657
+ "declKind": "Func",
658
+ "usr": "s:7PNLight0A3SDKC10initialize6apiKey6configySS_AA0A6ConfigVSgtYaF",
659
+ "mangledName": "$s7PNLight0A3SDKC10initialize6apiKey6configySS_AA0A6ConfigVSgtYaF",
660
+ "moduleName": "PNLight",
661
+ "declAttributes": [
662
+ "Final",
663
+ "AccessControl"
664
+ ],
665
+ "funcSelfKind": "NonMutating"
666
+ },
667
+ {
668
+ "kind": "TypeDecl",
669
+ "name": "AttributionProvider",
670
+ "printedName": "AttributionProvider",
671
+ "children": [
672
+ {
673
+ "kind": "Var",
674
+ "name": "appsFlyer",
675
+ "printedName": "appsFlyer",
676
+ "children": [
677
+ {
678
+ "kind": "TypeFunc",
679
+ "name": "Function",
680
+ "printedName": "(PNLight.PNLightSDK.AttributionProvider.Type) -> PNLight.PNLightSDK.AttributionProvider",
681
+ "children": [
682
+ {
683
+ "kind": "TypeNominal",
684
+ "name": "AttributionProvider",
685
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
686
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
687
+ },
688
+ {
689
+ "kind": "TypeNominal",
690
+ "name": "Metatype",
691
+ "printedName": "PNLight.PNLightSDK.AttributionProvider.Type",
692
+ "children": [
693
+ {
694
+ "kind": "TypeNominal",
695
+ "name": "AttributionProvider",
696
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
697
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
698
+ }
699
+ ]
700
+ }
701
+ ]
702
+ }
703
+ ],
704
+ "declKind": "EnumElement",
705
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO9appsFlyeryA2EmF",
706
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO9appsFlyeryA2EmF",
707
+ "moduleName": "PNLight"
708
+ },
709
+ {
710
+ "kind": "Var",
711
+ "name": "adjust",
712
+ "printedName": "adjust",
713
+ "children": [
714
+ {
715
+ "kind": "TypeFunc",
716
+ "name": "Function",
717
+ "printedName": "(PNLight.PNLightSDK.AttributionProvider.Type) -> PNLight.PNLightSDK.AttributionProvider",
718
+ "children": [
719
+ {
720
+ "kind": "TypeNominal",
721
+ "name": "AttributionProvider",
722
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
723
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
724
+ },
725
+ {
726
+ "kind": "TypeNominal",
727
+ "name": "Metatype",
728
+ "printedName": "PNLight.PNLightSDK.AttributionProvider.Type",
729
+ "children": [
730
+ {
731
+ "kind": "TypeNominal",
732
+ "name": "AttributionProvider",
733
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
734
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
735
+ }
736
+ ]
737
+ }
738
+ ]
739
+ }
740
+ ],
741
+ "declKind": "EnumElement",
742
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO6adjustyA2EmF",
743
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO6adjustyA2EmF",
744
+ "moduleName": "PNLight"
745
+ },
746
+ {
747
+ "kind": "Var",
748
+ "name": "firebase",
749
+ "printedName": "firebase",
750
+ "children": [
751
+ {
752
+ "kind": "TypeFunc",
753
+ "name": "Function",
754
+ "printedName": "(PNLight.PNLightSDK.AttributionProvider.Type) -> PNLight.PNLightSDK.AttributionProvider",
755
+ "children": [
756
+ {
757
+ "kind": "TypeNominal",
758
+ "name": "AttributionProvider",
759
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
760
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
761
+ },
762
+ {
763
+ "kind": "TypeNominal",
764
+ "name": "Metatype",
765
+ "printedName": "PNLight.PNLightSDK.AttributionProvider.Type",
766
+ "children": [
767
+ {
768
+ "kind": "TypeNominal",
769
+ "name": "AttributionProvider",
770
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
771
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
772
+ }
773
+ ]
774
+ }
775
+ ]
776
+ }
777
+ ],
778
+ "declKind": "EnumElement",
779
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO8firebaseyA2EmF",
780
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO8firebaseyA2EmF",
781
+ "moduleName": "PNLight"
782
+ },
783
+ {
784
+ "kind": "Var",
785
+ "name": "appleAdsAttribution",
786
+ "printedName": "appleAdsAttribution",
787
+ "children": [
788
+ {
789
+ "kind": "TypeFunc",
790
+ "name": "Function",
791
+ "printedName": "(PNLight.PNLightSDK.AttributionProvider.Type) -> PNLight.PNLightSDK.AttributionProvider",
792
+ "children": [
793
+ {
794
+ "kind": "TypeNominal",
795
+ "name": "AttributionProvider",
796
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
797
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
798
+ },
799
+ {
800
+ "kind": "TypeNominal",
801
+ "name": "Metatype",
802
+ "printedName": "PNLight.PNLightSDK.AttributionProvider.Type",
803
+ "children": [
804
+ {
805
+ "kind": "TypeNominal",
806
+ "name": "AttributionProvider",
807
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
808
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
809
+ }
810
+ ]
811
+ }
812
+ ]
813
+ }
814
+ ],
815
+ "declKind": "EnumElement",
816
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO08appleAdsC0yA2EmF",
817
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO08appleAdsC0yA2EmF",
818
+ "moduleName": "PNLight"
819
+ },
820
+ {
821
+ "kind": "Var",
822
+ "name": "custom",
823
+ "printedName": "custom",
824
+ "children": [
825
+ {
826
+ "kind": "TypeFunc",
827
+ "name": "Function",
828
+ "printedName": "(PNLight.PNLightSDK.AttributionProvider.Type) -> PNLight.PNLightSDK.AttributionProvider",
829
+ "children": [
830
+ {
831
+ "kind": "TypeNominal",
832
+ "name": "AttributionProvider",
833
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
834
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
835
+ },
836
+ {
837
+ "kind": "TypeNominal",
838
+ "name": "Metatype",
839
+ "printedName": "PNLight.PNLightSDK.AttributionProvider.Type",
840
+ "children": [
841
+ {
842
+ "kind": "TypeNominal",
843
+ "name": "AttributionProvider",
844
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
845
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
846
+ }
847
+ ]
848
+ }
849
+ ]
850
+ }
851
+ ],
852
+ "declKind": "EnumElement",
853
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO6customyA2EmF",
854
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO6customyA2EmF",
855
+ "moduleName": "PNLight"
856
+ },
857
+ {
858
+ "kind": "Var",
859
+ "name": "facebook",
860
+ "printedName": "facebook",
861
+ "children": [
862
+ {
863
+ "kind": "TypeFunc",
864
+ "name": "Function",
865
+ "printedName": "(PNLight.PNLightSDK.AttributionProvider.Type) -> PNLight.PNLightSDK.AttributionProvider",
866
+ "children": [
867
+ {
868
+ "kind": "TypeNominal",
869
+ "name": "AttributionProvider",
870
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
871
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
872
+ },
873
+ {
874
+ "kind": "TypeNominal",
875
+ "name": "Metatype",
876
+ "printedName": "PNLight.PNLightSDK.AttributionProvider.Type",
877
+ "children": [
878
+ {
879
+ "kind": "TypeNominal",
880
+ "name": "AttributionProvider",
881
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
882
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
883
+ }
884
+ ]
885
+ }
886
+ ]
887
+ }
888
+ ],
889
+ "declKind": "EnumElement",
890
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO8facebookyA2EmF",
891
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO8facebookyA2EmF",
892
+ "moduleName": "PNLight"
893
+ },
894
+ {
895
+ "kind": "Constructor",
896
+ "name": "init",
897
+ "printedName": "init(rawValue:)",
898
+ "children": [
899
+ {
900
+ "kind": "TypeNominal",
901
+ "name": "Optional",
902
+ "printedName": "PNLight.PNLightSDK.AttributionProvider?",
903
+ "children": [
904
+ {
905
+ "kind": "TypeNominal",
906
+ "name": "AttributionProvider",
907
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
908
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
909
+ }
910
+ ],
911
+ "usr": "s:Sq"
912
+ },
913
+ {
914
+ "kind": "TypeNominal",
915
+ "name": "String",
916
+ "printedName": "Swift.String",
917
+ "usr": "s:SS"
918
+ }
919
+ ],
920
+ "declKind": "Constructor",
921
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO8rawValueAESgSS_tcfc",
922
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO8rawValueAESgSS_tcfc",
923
+ "moduleName": "PNLight",
924
+ "implicit": true,
925
+ "init_kind": "Designated"
926
+ },
927
+ {
928
+ "kind": "Var",
929
+ "name": "rawValue",
930
+ "printedName": "rawValue",
931
+ "children": [
932
+ {
933
+ "kind": "TypeNominal",
934
+ "name": "String",
935
+ "printedName": "Swift.String",
936
+ "usr": "s:SS"
937
+ }
938
+ ],
939
+ "declKind": "Var",
940
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO8rawValueSSvp",
941
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO8rawValueSSvp",
942
+ "moduleName": "PNLight",
943
+ "implicit": true,
944
+ "accessors": [
945
+ {
946
+ "kind": "Accessor",
947
+ "name": "Get",
948
+ "printedName": "Get()",
949
+ "children": [
950
+ {
951
+ "kind": "TypeNominal",
952
+ "name": "String",
953
+ "printedName": "Swift.String",
954
+ "usr": "s:SS"
955
+ }
956
+ ],
957
+ "declKind": "Accessor",
958
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO8rawValueSSvg",
959
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO8rawValueSSvg",
960
+ "moduleName": "PNLight",
961
+ "implicit": true,
962
+ "accessorKind": "get"
963
+ }
964
+ ]
218
965
  }
219
966
  ],
220
- "declKind": "Var",
221
- "usr": "s:7PNLight0A3SDKC6sharedACvpZ",
222
- "mangledName": "$s7PNLight0A3SDKC6sharedACvpZ",
967
+ "declKind": "Enum",
968
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO",
969
+ "mangledName": "$s7PNLight0A3SDKC19AttributionProviderO",
223
970
  "moduleName": "PNLight",
224
- "static": true,
225
971
  "declAttributes": [
226
- "HasInitialValue",
227
- "Final",
228
- "HasStorage",
229
- "AccessControl"
972
+ "AccessControl",
973
+ "RawDocComment"
230
974
  ],
231
- "isLet": true,
232
- "hasStorage": true,
233
- "accessors": [
975
+ "isFromExtension": true,
976
+ "enumRawTypeName": "String",
977
+ "conformances": [
234
978
  {
235
- "kind": "Accessor",
236
- "name": "Get",
237
- "printedName": "Get()",
979
+ "kind": "Conformance",
980
+ "name": "Copyable",
981
+ "printedName": "Copyable",
982
+ "usr": "s:s8CopyableP",
983
+ "mangledName": "$ss8CopyableP"
984
+ },
985
+ {
986
+ "kind": "Conformance",
987
+ "name": "Escapable",
988
+ "printedName": "Escapable",
989
+ "usr": "s:s9EscapableP",
990
+ "mangledName": "$ss9EscapableP"
991
+ },
992
+ {
993
+ "kind": "Conformance",
994
+ "name": "Equatable",
995
+ "printedName": "Equatable",
996
+ "usr": "s:SQ",
997
+ "mangledName": "$sSQ"
998
+ },
999
+ {
1000
+ "kind": "Conformance",
1001
+ "name": "Hashable",
1002
+ "printedName": "Hashable",
1003
+ "usr": "s:SH",
1004
+ "mangledName": "$sSH"
1005
+ },
1006
+ {
1007
+ "kind": "Conformance",
1008
+ "name": "RawRepresentable",
1009
+ "printedName": "RawRepresentable",
238
1010
  "children": [
239
1011
  {
240
- "kind": "TypeNominal",
241
- "name": "PNLightSDK",
242
- "printedName": "PNLight.PNLightSDK",
243
- "usr": "c:@M@PNLight@objc(cs)PNLightSDK"
1012
+ "kind": "TypeWitness",
1013
+ "name": "RawValue",
1014
+ "printedName": "RawValue",
1015
+ "children": [
1016
+ {
1017
+ "kind": "TypeNominal",
1018
+ "name": "String",
1019
+ "printedName": "Swift.String",
1020
+ "usr": "s:SS"
1021
+ }
1022
+ ]
244
1023
  }
245
1024
  ],
246
- "declKind": "Accessor",
247
- "usr": "s:7PNLight0A3SDKC6sharedACvgZ",
248
- "mangledName": "$s7PNLight0A3SDKC6sharedACvgZ",
249
- "moduleName": "PNLight",
250
- "static": true,
251
- "implicit": true,
252
- "declAttributes": [
253
- "Final"
254
- ],
255
- "accessorKind": "get"
1025
+ "usr": "s:SY",
1026
+ "mangledName": "$sSY"
1027
+ },
1028
+ {
1029
+ "kind": "Conformance",
1030
+ "name": "Decodable",
1031
+ "printedName": "Decodable",
1032
+ "usr": "s:Se",
1033
+ "mangledName": "$sSe"
1034
+ },
1035
+ {
1036
+ "kind": "Conformance",
1037
+ "name": "Encodable",
1038
+ "printedName": "Encodable",
1039
+ "usr": "s:SE",
1040
+ "mangledName": "$sSE"
256
1041
  }
257
1042
  ]
258
1043
  },
259
1044
  {
260
1045
  "kind": "Function",
261
- "name": "initialize",
262
- "printedName": "initialize(apiKey:)",
1046
+ "name": "addAttribution",
1047
+ "printedName": "addAttribution(provider:data:identifier:)",
263
1048
  "children": [
264
1049
  {
265
1050
  "kind": "TypeNominal",
266
- "name": "Void",
267
- "printedName": "()"
1051
+ "name": "Bool",
1052
+ "printedName": "Swift.Bool",
1053
+ "usr": "s:Sb"
268
1054
  },
269
1055
  {
270
1056
  "kind": "TypeNominal",
271
- "name": "String",
272
- "printedName": "Swift.String",
273
- "usr": "s:SS"
1057
+ "name": "AttributionProvider",
1058
+ "printedName": "PNLight.PNLightSDK.AttributionProvider",
1059
+ "usr": "s:7PNLight0A3SDKC19AttributionProviderO"
1060
+ },
1061
+ {
1062
+ "kind": "TypeNominal",
1063
+ "name": "Optional",
1064
+ "printedName": "[Swift.String : Any]?",
1065
+ "children": [
1066
+ {
1067
+ "kind": "TypeNominal",
1068
+ "name": "Dictionary",
1069
+ "printedName": "[Swift.String : Any]",
1070
+ "children": [
1071
+ {
1072
+ "kind": "TypeNominal",
1073
+ "name": "String",
1074
+ "printedName": "Swift.String",
1075
+ "usr": "s:SS"
1076
+ },
1077
+ {
1078
+ "kind": "TypeNominal",
1079
+ "name": "ProtocolComposition",
1080
+ "printedName": "Any"
1081
+ }
1082
+ ],
1083
+ "usr": "s:SD"
1084
+ }
1085
+ ],
1086
+ "hasDefaultArg": true,
1087
+ "usr": "s:Sq"
1088
+ },
1089
+ {
1090
+ "kind": "TypeNominal",
1091
+ "name": "Optional",
1092
+ "printedName": "Swift.String?",
1093
+ "children": [
1094
+ {
1095
+ "kind": "TypeNominal",
1096
+ "name": "String",
1097
+ "printedName": "Swift.String",
1098
+ "usr": "s:SS"
1099
+ }
1100
+ ],
1101
+ "hasDefaultArg": true,
1102
+ "usr": "s:Sq"
274
1103
  }
275
1104
  ],
276
1105
  "declKind": "Func",
277
- "usr": "s:7PNLight0A3SDKC10initialize6apiKeyySS_tYaF",
278
- "mangledName": "$s7PNLight0A3SDKC10initialize6apiKeyySS_tYaF",
1106
+ "usr": "s:7PNLight0A3SDKC14addAttribution8provider4data10identifierSbAC0D8ProviderO_SDySSypGSgSSSgtYaF",
1107
+ "mangledName": "$s7PNLight0A3SDKC14addAttribution8provider4data10identifierSbAC0D8ProviderO_SDySSypGSgSSSgtYaF",
279
1108
  "moduleName": "PNLight",
280
1109
  "declAttributes": [
281
1110
  "Final",
282
- "AccessControl"
1111
+ "AccessControl",
1112
+ "DiscardableResult",
1113
+ "RawDocComment"
283
1114
  ],
1115
+ "isFromExtension": true,
284
1116
  "funcSelfKind": "NonMutating"
285
1117
  },
286
1118
  {
@@ -426,6 +1258,96 @@
426
1258
  "isFromExtension": true,
427
1259
  "funcSelfKind": "NonMutating"
428
1260
  },
1261
+ {
1262
+ "kind": "Function",
1263
+ "name": "getUIConfig",
1264
+ "printedName": "getUIConfig(placement:)",
1265
+ "children": [
1266
+ {
1267
+ "kind": "TypeNominal",
1268
+ "name": "Optional",
1269
+ "printedName": "PNLight.UIConfig?",
1270
+ "children": [
1271
+ {
1272
+ "kind": "TypeNominal",
1273
+ "name": "UIConfig",
1274
+ "printedName": "PNLight.UIConfig",
1275
+ "usr": "s:7PNLight8UIConfigV"
1276
+ }
1277
+ ],
1278
+ "usr": "s:Sq"
1279
+ },
1280
+ {
1281
+ "kind": "TypeNominal",
1282
+ "name": "String",
1283
+ "printedName": "Swift.String",
1284
+ "usr": "s:SS"
1285
+ }
1286
+ ],
1287
+ "declKind": "Func",
1288
+ "usr": "s:7PNLight0A3SDKC11getUIConfig9placementAA0D0VSgSS_tYaF",
1289
+ "mangledName": "$s7PNLight0A3SDKC11getUIConfig9placementAA0D0VSgSS_tYaF",
1290
+ "moduleName": "PNLight",
1291
+ "declAttributes": [
1292
+ "Final",
1293
+ "AccessControl",
1294
+ "RawDocComment"
1295
+ ],
1296
+ "isFromExtension": true,
1297
+ "funcSelfKind": "NonMutating"
1298
+ },
1299
+ {
1300
+ "kind": "Function",
1301
+ "name": "prefetchUIConfig",
1302
+ "printedName": "prefetchUIConfig(placement:)",
1303
+ "children": [
1304
+ {
1305
+ "kind": "TypeNominal",
1306
+ "name": "Void",
1307
+ "printedName": "()"
1308
+ },
1309
+ {
1310
+ "kind": "TypeNominal",
1311
+ "name": "String",
1312
+ "printedName": "Swift.String",
1313
+ "usr": "s:SS"
1314
+ }
1315
+ ],
1316
+ "declKind": "Func",
1317
+ "usr": "s:7PNLight0A3SDKC16prefetchUIConfig9placementySS_tF",
1318
+ "mangledName": "$s7PNLight0A3SDKC16prefetchUIConfig9placementySS_tF",
1319
+ "moduleName": "PNLight",
1320
+ "declAttributes": [
1321
+ "Final",
1322
+ "AccessControl",
1323
+ "RawDocComment"
1324
+ ],
1325
+ "isFromExtension": true,
1326
+ "funcSelfKind": "NonMutating"
1327
+ },
1328
+ {
1329
+ "kind": "Function",
1330
+ "name": "clearUIConfigCache",
1331
+ "printedName": "clearUIConfigCache()",
1332
+ "children": [
1333
+ {
1334
+ "kind": "TypeNominal",
1335
+ "name": "Void",
1336
+ "printedName": "()"
1337
+ }
1338
+ ],
1339
+ "declKind": "Func",
1340
+ "usr": "s:7PNLight0A3SDKC18clearUIConfigCacheyyF",
1341
+ "mangledName": "$s7PNLight0A3SDKC18clearUIConfigCacheyyF",
1342
+ "moduleName": "PNLight",
1343
+ "declAttributes": [
1344
+ "Final",
1345
+ "AccessControl",
1346
+ "RawDocComment"
1347
+ ],
1348
+ "isFromExtension": true,
1349
+ "funcSelfKind": "NonMutating"
1350
+ },
429
1351
  {
430
1352
  "kind": "Function",
431
1353
  "name": "getOrCreateUserId",
@@ -463,6 +1385,28 @@
463
1385
  "isFromExtension": true,
464
1386
  "funcSelfKind": "NonMutating"
465
1387
  },
1388
+ {
1389
+ "kind": "Function",
1390
+ "name": "resetUserId",
1391
+ "printedName": "resetUserId()",
1392
+ "children": [
1393
+ {
1394
+ "kind": "TypeNominal",
1395
+ "name": "Void",
1396
+ "printedName": "()"
1397
+ }
1398
+ ],
1399
+ "declKind": "Func",
1400
+ "usr": "s:7PNLight0A3SDKC11resetUserIdyyF",
1401
+ "mangledName": "$s7PNLight0A3SDKC11resetUserIdyyF",
1402
+ "moduleName": "PNLight",
1403
+ "declAttributes": [
1404
+ "Final",
1405
+ "AccessControl"
1406
+ ],
1407
+ "isFromExtension": true,
1408
+ "funcSelfKind": "NonMutating"
1409
+ },
466
1410
  {
467
1411
  "kind": "Function",
468
1412
  "name": "paymentQueue",
@@ -600,38 +1544,66 @@
600
1544
  "length": 4,
601
1545
  "value": "true"
602
1546
  },
1547
+ {
1548
+ "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight+UI.swift",
1549
+ "kind": "Dictionary",
1550
+ "offset": 2705,
1551
+ "length": 3,
1552
+ "value": "[]"
1553
+ },
1554
+ {
1555
+ "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight+UI.swift",
1556
+ "kind": "Array",
1557
+ "offset": 2765,
1558
+ "length": 2,
1559
+ "value": "[]"
1560
+ },
1561
+ {
1562
+ "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight+UI.swift",
1563
+ "kind": "StringLiteral",
1564
+ "offset": 2825,
1565
+ "length": 32,
1566
+ "value": "\"app.pnlight.sdk.uiconfig.cache\""
1567
+ },
1568
+ {
1569
+ "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
1570
+ "kind": "StringLiteral",
1571
+ "offset": 382,
1572
+ "length": 29,
1573
+ "value": "\"https:\/\/console.pnlight.app\""
1574
+ },
603
1575
  {
604
1576
  "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
605
1577
  "kind": "StringLiteral",
606
- "offset": 502,
1578
+ "offset": 731,
607
1579
  "length": 17,
608
1580
  "value": "\"app.pnlight.sdk\""
609
1581
  },
610
1582
  {
611
1583
  "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
612
1584
  "kind": "StringLiteral",
613
- "offset": 531,
1585
+ "offset": 760,
614
1586
  "length": 6,
615
1587
  "value": "\"main\""
616
1588
  },
617
1589
  {
618
1590
  "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
619
1591
  "kind": "IntegerLiteral",
620
- "offset": 671,
1592
+ "offset": 900,
621
1593
  "length": 2,
622
1594
  "value": "15"
623
1595
  },
624
1596
  {
625
1597
  "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
626
1598
  "kind": "IntegerLiteral",
627
- "offset": 715,
1599
+ "offset": 944,
628
1600
  "length": 2,
629
1601
  "value": "30"
630
1602
  },
631
1603
  {
632
1604
  "filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
633
1605
  "kind": "Array",
634
- "offset": 1050,
1606
+ "offset": 1279,
635
1607
  "length": 2,
636
1608
  "value": "[]"
637
1609
  }