@fountispanel/connect-react-native 1.0.0 → 1.2.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 (62) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/README.md +7 -6
  3. package/android/build.gradle +35 -16
  4. package/android/src/main/AndroidManifest.xml +5 -16
  5. package/build/index.js +1 -126
  6. package/build/index.web.js +1 -57
  7. package/ios/FountisConnect.xcframework/Info.plist +44 -0
  8. package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/engine.html +5 -5
  9. package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/FountisConnect +0 -0
  10. package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Info.plist +53 -0
  11. package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  12. package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios.swiftinterface +48 -0
  13. package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/engine.html +5 -5
  14. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/FountisConnect +0 -0
  15. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Info.plist +49 -0
  16. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  17. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios-simulator.swiftinterface +48 -0
  18. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  19. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +48 -0
  20. package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/PrivacyInfo.xcprivacy +23 -0
  21. package/ios/FountisConnectAppDelegateSubscriber.swift +3 -0
  22. package/ios/FountisConnectModule.swift +3 -0
  23. package/ios/FountisConnectReactNative.podspec +27 -6
  24. package/package.json +14 -12
  25. package/android/connect-sdk/main/kotlin/org/fountis/connect/ApiClient.kt +0 -161
  26. package/android/connect-sdk/main/kotlin/org/fountis/connect/FountisConnect.kt +0 -616
  27. package/android/connect-sdk/main/kotlin/org/fountis/connect/FountisSurveyActivity.kt +0 -321
  28. package/android/connect-sdk/main/kotlin/org/fountis/connect/LocalState.kt +0 -143
  29. package/android/connect-sdk/main/kotlin/org/fountis/connect/Matcher.kt +0 -167
  30. package/android/connect-sdk/main/kotlin/org/fountis/connect/Models.kt +0 -128
  31. package/android/connect-sdk/main/kotlin/org/fountis/connect/Notifier.kt +0 -109
  32. package/android/connect-sdk/main/kotlin/org/fountis/connect/RequestDeadline.kt +0 -74
  33. package/android/connect-sdk/main/kotlin/org/fountis/connect/Strings.kt +0 -45
  34. package/android/connect-sdk/main/kotlin/org/fountis/connect/TokenProviderCall.kt +0 -72
  35. package/android/connect-sdk/main/res/drawable/fountis_ic_notification.xml +0 -12
  36. package/android/connect-sdk/main/res/values/fountis_styles.xml +0 -13
  37. package/android/connect-sdk/main/res/values-v27/fountis_styles.xml +0 -12
  38. package/build/types.js +0 -1
  39. package/ios/FountisConnectBundle.swift +0 -15
  40. package/ios/FountisConnectSDK/ApiClient.swift +0 -113
  41. package/ios/FountisConnectSDK/FountisConnect.swift +0 -436
  42. package/ios/FountisConnectSDK/LocalState.swift +0 -81
  43. package/ios/FountisConnectSDK/Matcher.swift +0 -102
  44. package/ios/FountisConnectSDK/Models.swift +0 -116
  45. package/ios/FountisConnectSDK/Notifier.swift +0 -63
  46. package/ios/FountisConnectSDK/RequestDeadline.swift +0 -93
  47. package/ios/FountisConnectSDK/SheetController.swift +0 -259
  48. package/ios/FountisConnectSDK/Strings.swift +0 -34
  49. package/ios/FountisConnectSDK/TokenProviderCall.swift +0 -91
  50. package/scripts/vendor-native.sh +0 -16
  51. package/src/index.ts +0 -142
  52. package/src/index.web.ts +0 -64
  53. package/src/types.ts +0 -26
  54. /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/ar.json +0 -0
  55. /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/en.json +0 -0
  56. /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/kmr.json +0 -0
  57. /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/ku.json +0 -0
  58. /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64/FountisConnect.framework}/PrivacyInfo.xcprivacy +0 -0
  59. /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/ar.json +0 -0
  60. /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/en.json +0 -0
  61. /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/kmr.json +0 -0
  62. /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/ku.json +0 -0
@@ -0,0 +1,53 @@
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>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>FountisConnect</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string>org.fountis.connect.FountisConnect</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundleName</key>
14
+ <string>FountisConnect</string>
15
+ <key>CFBundlePackageType</key>
16
+ <string>FMWK</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>1.2.0</string>
19
+ <key>CFBundleSupportedPlatforms</key>
20
+ <array>
21
+ <string>iPhoneOS</string>
22
+ </array>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.2.0</string>
25
+ <key>DTCompiler</key>
26
+ <string>com.apple.compilers.llvm.clang.1_0</string>
27
+ <key>DTPlatformBuild</key>
28
+ <string>22F76</string>
29
+ <key>DTPlatformName</key>
30
+ <string>iphoneos</string>
31
+ <key>DTPlatformVersion</key>
32
+ <string>18.5</string>
33
+ <key>DTSDKBuild</key>
34
+ <string>22F76</string>
35
+ <key>DTSDKName</key>
36
+ <string>iphoneos18.5</string>
37
+ <key>DTXcode</key>
38
+ <string>1640</string>
39
+ <key>DTXcodeBuild</key>
40
+ <string>16F6</string>
41
+ <key>MinimumOSVersion</key>
42
+ <string>15.0</string>
43
+ <key>UIDeviceFamily</key>
44
+ <array>
45
+ <integer>1</integer>
46
+ <integer>2</integer>
47
+ </array>
48
+ <key>UIRequiredDeviceCapabilities</key>
49
+ <array>
50
+ <string>arm64</string>
51
+ </array>
52
+ </dict>
53
+ </plist>
@@ -0,0 +1,48 @@
1
+ // swift-interface-format-version: 1.0
2
+ // swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
3
+ // swift-module-flags: -target arm64-apple-ios15.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -module-name FountisConnect -package-name fountisconnect -module-alias Module___FountisConnect=FountisConnect -module-alias Module____StringProcessing=_StringProcessing -module-alias Module____SwiftConcurrencyShims=_SwiftConcurrencyShims -module-alias Module____Concurrency=_Concurrency -module-alias Module___CryptoKit=CryptoKit -module-alias Module___DeviceCheck=DeviceCheck -module-alias Module___UIKit=UIKit -module-alias Module___UserNotifications=UserNotifications -module-alias Module___os=os -module-alias Module___BackgroundTasks=BackgroundTasks -module-alias Module___WebKit=WebKit
4
+ // swift-module-flags-ignorable: -interface-compiler-version 6.1.2
5
+ import Module___BackgroundTasks
6
+ import Module___CryptoKit
7
+ import Module___DeviceCheck
8
+ import Foundation
9
+ import Swift
10
+ import Module___UIKit
11
+ import Module___UserNotifications
12
+ import Module___WebKit
13
+ import Module____Concurrency
14
+ import Module____StringProcessing
15
+ import Module____SwiftConcurrencyShims
16
+ import Module___os
17
+ @Module____Concurrency.MainActor public enum FountisConnect {
18
+ @Module____Concurrency.MainActor public static let defaultAPIBase: Foundation.URL
19
+ @Module____Concurrency.MainActor public static func start(key: Swift.String, apiBase: Foundation.URL? = nil)
20
+ @Module____Concurrency.MainActor public static func setUserToken(_ provider: @escaping () async throws -> Swift.String?)
21
+ @Module____Concurrency.MainActor public static func enableNotifications()
22
+ @discardableResult
23
+ @Module____Concurrency.MainActor public static func show() async -> Module___FountisConnect.FountisResult
24
+ @discardableResult
25
+ @Module____Concurrency.MainActor public static func handlePush(_ userInfo: [Swift.AnyHashable : Any]) -> Swift.Bool
26
+ @discardableResult
27
+ @Module____Concurrency.MainActor public static func handleNotificationResponse(_ response: Module___UserNotifications.UNNotificationResponse) -> Swift.Bool
28
+ @Module____Concurrency.MainActor public static func setUserConsent(_ granted: Swift.Bool)
29
+ @Module____Concurrency.MainActor public static func signOut()
30
+ @Module____Concurrency.MainActor public static func onEvent(_ listener: @escaping (Module___FountisConnect.FountisEvent) -> Swift.Void)
31
+ }
32
+ @frozen public enum FountisResult : Swift.Equatable, Swift.Sendable {
33
+ case noFill
34
+ case dismissed
35
+ case completed
36
+ public static func == (a: Module___FountisConnect.FountisResult, b: Module___FountisConnect.FountisResult) -> Swift.Bool
37
+ public func hash(into hasher: inout Swift.Hasher)
38
+ public var hashValue: Swift.Int {
39
+ get
40
+ }
41
+ }
42
+ public struct FountisEvent : Swift.Sendable {
43
+ public let type: Swift.String
44
+ public let offerId: Swift.String?
45
+ }
46
+ extension Module___FountisConnect.FountisConnect : Swift.Sendable {}
47
+ extension Module___FountisConnect.FountisResult : Swift.Hashable {}
48
+ extension Module___FountisConnect.FountisResult : Swift.BitwiseCopyable {}