@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.
- package/CHANGELOG.md +9 -1
- package/README.md +7 -6
- package/android/build.gradle +35 -16
- package/android/src/main/AndroidManifest.xml +5 -16
- package/build/index.js +1 -126
- package/build/index.web.js +1 -57
- package/ios/FountisConnect.xcframework/Info.plist +44 -0
- package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/engine.html +5 -5
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/FountisConnect +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Info.plist +53 -0
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios.swiftinterface +48 -0
- package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/engine.html +5 -5
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/FountisConnect +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Info.plist +49 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/arm64-apple-ios-simulator.swiftinterface +48 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/Modules/FountisConnect.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +48 -0
- package/ios/FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework/PrivacyInfo.xcprivacy +23 -0
- package/ios/FountisConnectAppDelegateSubscriber.swift +3 -0
- package/ios/FountisConnectModule.swift +3 -0
- package/ios/FountisConnectReactNative.podspec +27 -6
- package/package.json +14 -12
- package/android/connect-sdk/main/kotlin/org/fountis/connect/ApiClient.kt +0 -161
- package/android/connect-sdk/main/kotlin/org/fountis/connect/FountisConnect.kt +0 -616
- package/android/connect-sdk/main/kotlin/org/fountis/connect/FountisSurveyActivity.kt +0 -321
- package/android/connect-sdk/main/kotlin/org/fountis/connect/LocalState.kt +0 -143
- package/android/connect-sdk/main/kotlin/org/fountis/connect/Matcher.kt +0 -167
- package/android/connect-sdk/main/kotlin/org/fountis/connect/Models.kt +0 -128
- package/android/connect-sdk/main/kotlin/org/fountis/connect/Notifier.kt +0 -109
- package/android/connect-sdk/main/kotlin/org/fountis/connect/RequestDeadline.kt +0 -74
- package/android/connect-sdk/main/kotlin/org/fountis/connect/Strings.kt +0 -45
- package/android/connect-sdk/main/kotlin/org/fountis/connect/TokenProviderCall.kt +0 -72
- package/android/connect-sdk/main/res/drawable/fountis_ic_notification.xml +0 -12
- package/android/connect-sdk/main/res/values/fountis_styles.xml +0 -13
- package/android/connect-sdk/main/res/values-v27/fountis_styles.xml +0 -12
- package/build/types.js +0 -1
- package/ios/FountisConnectBundle.swift +0 -15
- package/ios/FountisConnectSDK/ApiClient.swift +0 -113
- package/ios/FountisConnectSDK/FountisConnect.swift +0 -436
- package/ios/FountisConnectSDK/LocalState.swift +0 -81
- package/ios/FountisConnectSDK/Matcher.swift +0 -102
- package/ios/FountisConnectSDK/Models.swift +0 -116
- package/ios/FountisConnectSDK/Notifier.swift +0 -63
- package/ios/FountisConnectSDK/RequestDeadline.swift +0 -93
- package/ios/FountisConnectSDK/SheetController.swift +0 -259
- package/ios/FountisConnectSDK/Strings.swift +0 -34
- package/ios/FountisConnectSDK/TokenProviderCall.swift +0 -91
- package/scripts/vendor-native.sh +0 -16
- package/src/index.ts +0 -142
- package/src/index.web.ts +0 -64
- package/src/types.ts +0 -26
- /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/ar.json +0 -0
- /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/en.json +0 -0
- /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/kmr.json +0 -0
- /package/{android/connect-sdk/main/assets/fountis-connect → ios/FountisConnect.xcframework/ios-arm64/FountisConnect.framework/Engine}/i18n/ku.json +0 -0
- /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64/FountisConnect.framework}/PrivacyInfo.xcprivacy +0 -0
- /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/ar.json +0 -0
- /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/en.json +0 -0
- /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/kmr.json +0 -0
- /package/ios/{FountisConnectSDK → FountisConnect.xcframework/ios-arm64_x86_64-simulator/FountisConnect.framework}/Engine/i18n/ku.json +0 -0
|
Binary file
|
|
@@ -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>
|
|
Binary file
|
|
@@ -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 {}
|