diff --git a/CapacitorOsInappbrowser.podspec b/CapacitorOsInappbrowser.podspec index b04471f..4b7120d 100644 --- a/CapacitorOsInappbrowser.podspec +++ b/CapacitorOsInappbrowser.podspec @@ -10,7 +10,9 @@ Pod::Spec.new do |s| s.homepage = package['repository']['url'] s.author = package['author'] s.source = { :git => package['repository']['url'], :tag => s.version.to_s } - s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' + #s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' + s.source_files = 'ios/Sources/InAppBrowserPlugin/*.{swift,h,m,c,cc,mm,cpp}' + s.vendored_frameworks = 'ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework' s.ios.deployment_target = '13.0' s.dependency 'Capacitor' s.swift_version = '5.1' diff --git a/README.md b/README.md index 3653e8a..d4e5aa7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ npx cap sync * [`removeAllListeners()`](#removealllisteners) * [`addListener('browserClosed' | 'browserPageLoaded', ...)`](#addlistenerbrowserclosed--browserpageloaded-) * [Interfaces](#interfaces) +* [Type Aliases](#type-aliases) * [Enums](#enums) @@ -58,12 +59,12 @@ openInSystemBrowser(url: string, options: SystemBrowserOptions) => void ### openInExternalBrowser(...) ```typescript -openInExternalBrowser(url: string) => void +openInExternalBrowser(model: OpenInExternalBrowserParameterModel) => void ``` -| Param | Type | -| --------- | ------------------- | -| **`url`** | string | +| Param | Type | +| ----------- | --------------------------------------------------------------------------------------------------- | +| **`model`** | OpenInExternalBrowserParameterModel | -------------------- @@ -187,6 +188,16 @@ addListener(eventName: 'browserClosed' | 'browserPageLoaded', listenerFunc: () = | **`remove`** | () => Promise<void> | +### Type Aliases + + +#### OpenInExternalBrowserParameterModel + +Defines the options for opening a URL in the external browser. + +{ url: string; } + + ### Enums diff --git a/example-app/src/pages/Home.tsx b/example-app/src/pages/Home.tsx index 01dcb31..8facfd1 100644 --- a/example-app/src/pages/Home.tsx +++ b/example-app/src/pages/Home.tsx @@ -5,8 +5,9 @@ import './Home.css'; const Home: React.FC = () => { const test = () => { - // InAppBrowser.openInExternalBrowser('https://www.google.com'); - console.log('test') + InAppBrowser.openInExternalBrowser({ + url: "https://www.google.com" + }); } return ( diff --git a/ios/Sources/InAppBrowserPlugin/InAppBrowser.swift b/ios/Sources/InAppBrowserPlugin/InAppBrowser.swift deleted file mode 100644 index c3a2587..0000000 --- a/ios/Sources/InAppBrowserPlugin/InAppBrowser.swift +++ /dev/null @@ -1,8 +0,0 @@ -import Foundation - -@objc public class InAppBrowser: NSObject { - @objc public func echo(_ value: String) -> String { - print(value) - return value - } -} diff --git a/ios/Sources/InAppBrowserPlugin/InAppBrowserPlugin.swift b/ios/Sources/InAppBrowserPlugin/InAppBrowserPlugin.swift index c11b70a..28c6d99 100644 --- a/ios/Sources/InAppBrowserPlugin/InAppBrowserPlugin.swift +++ b/ios/Sources/InAppBrowserPlugin/InAppBrowserPlugin.swift @@ -1,5 +1,6 @@ -import Foundation import Capacitor +import OSInAppBrowserLib +import UIKit /** * Please read the Capacitor iOS Plugin Development Guide @@ -10,14 +11,32 @@ public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin { public let identifier = "InAppBrowserPlugin" public let jsName = "InAppBrowser" public let pluginMethods: [CAPPluginMethod] = [ - CAPPluginMethod(name: "echo", returnType: CAPPluginReturnPromise) + CAPPluginMethod(name: "openInExternalBrowser", returnType: CAPPluginReturnPromise) ] - private let implementation = InAppBrowser() - @objc func echo(_ call: CAPPluginCall) { - let value = call.getString("value") ?? "" - call.resolve([ - "value": implementation.echo(value) - ]) + private var plugin: OSIABEngine? + + override public func load() { + self.plugin = .init(application: .shared) + } + + @objc func openInExternalBrowser(_ call: CAPPluginCall) { + if self.plugin == nil { + self.load() + } + + guard let plugin else { + return call.reject("Capacitor bridge is not initialized.") + } + + guard let url = call.getString("url") else { + return call.reject("The input parameters for 'openInExternalBrowser' are invalid.") + } + + if plugin.openExternalBrowser(url) == true { + call.resolve() + } else { + call.reject("Couldn't open '\(url)' using Safari.") + } } } diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/Info.plist b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/Info.plist new file mode 100644 index 0000000..4b772e7 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/Info.plist @@ -0,0 +1,48 @@ + + + + + AvailableLibraries + + + BinaryPath + OSInAppBrowserLib.framework/OSInAppBrowserLib + DebugSymbolsPath + dSYMs + LibraryIdentifier + ios-arm64 + LibraryPath + OSInAppBrowserLib.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + + + BinaryPath + OSInAppBrowserLib.framework/OSInAppBrowserLib + DebugSymbolsPath + dSYMs + LibraryIdentifier + ios-arm64_x86_64-simulator + LibraryPath + OSInAppBrowserLib.framework + SupportedArchitectures + + arm64 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Headers/OSInAppBrowserLib-Swift.h b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Headers/OSInAppBrowserLib-Swift.h new file mode 100644 index 0000000..fc55751 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Headers/OSInAppBrowserLib-Swift.h @@ -0,0 +1,311 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef OSINAPPBROWSERLIB_SWIFT_H +#define OSINAPPBROWSERLIB_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="OSInAppBrowserLib",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Info.plist b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Info.plist new file mode 100644 index 0000000..8a615d3 Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Info.plist differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.abi.json b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.abi.json new file mode 100644 index 0000000..cae84bf --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.abi.json @@ -0,0 +1,128 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "TypeDecl", + "name": "OSIABEngine", + "printedName": "OSIABEngine", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(router:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSIABEngine", + "printedName": "OSInAppBrowserLib.OSIABEngine", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV" + }, + { + "kind": "TypeNominal", + "name": "OSIABRouter", + "printedName": "OSInAppBrowserLib.OSIABRouter", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP" + } + ], + "declKind": "Constructor", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfc", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfc", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "openExternalBrowser", + "printedName": "openExternalBrowser(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSIABRouter", + "printedName": "OSIABRouter", + "children": [ + { + "kind": "Function", + "name": "openInSafari", + "printedName": "openInSafari(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP12openInSafariySbSSF", + "mangledName": "$s17OSInAppBrowserLib11OSIABRouterP12openInSafariySbSSF", + "moduleName": "OSInAppBrowserLib", + "genericSig": "<τ_0_0 where τ_0_0 : OSInAppBrowserLib.OSIABRouter>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP", + "mangledName": "$s17OSInAppBrowserLib11OSIABRouterP", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.private.swiftinterface b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.private.swiftinterface new file mode 100644 index 0000000..5f7d09f --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OSInAppBrowserLib +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public struct OSIABEngine { + public init(router: any OSInAppBrowserLib.OSIABRouter) + public func openExternalBrowser(_ url: Swift.String) -> Swift.Bool +} +public protocol OSIABRouter { + func openInSafari(_ url: Swift.String) -> Swift.Bool +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.swiftdoc b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.swiftdoc new file mode 100644 index 0000000..4ae1698 Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.swiftinterface b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.swiftinterface new file mode 100644 index 0000000..5f7d09f --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OSInAppBrowserLib +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public struct OSIABEngine { + public init(router: any OSInAppBrowserLib.OSIABRouter) + public func openExternalBrowser(_ url: Swift.String) -> Swift.Bool +} +public protocol OSIABRouter { + func openInSafari(_ url: Swift.String) -> Swift.Bool +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/module.modulemap b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/module.modulemap new file mode 100644 index 0000000..ad5451f --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/Modules/module.modulemap @@ -0,0 +1,4 @@ +framework module OSInAppBrowserLib { + header "OSInAppBrowserLib-Swift.h" + requires objc +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/OSInAppBrowserLib b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/OSInAppBrowserLib new file mode 100755 index 0000000..378bf56 Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/OSInAppBrowserLib.framework/OSInAppBrowserLib differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Info.plist b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Info.plist new file mode 100644 index 0000000..303c185 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.com.outsystems.rd.inappbrowser.OSInAppBrowserLib + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/DWARF/OSInAppBrowserLib b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/DWARF/OSInAppBrowserLib new file mode 100644 index 0000000..ed27d4c Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/DWARF/OSInAppBrowserLib differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/aarch64/OSInAppBrowserLib.yml b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/aarch64/OSInAppBrowserLib.yml new file mode 100644 index 0000000..adf7efd --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/aarch64/OSInAppBrowserLib.yml @@ -0,0 +1,23 @@ +--- +triple: 'arm64-apple-darwin' +binary-path: '/Users/rcj/Library/Developer/Xcode/DerivedData/OSInAppBrowserLib-exxamiccymxcjdabdfefbzmbgbsk/Build/Intermediates.noindex/ArchiveIntermediates/OSInAppBrowserLib/InstallationBuildProductsLocation/Library/Frameworks/OSInAppBrowserLib.framework/OSInAppBrowserLib' +relocations: + - { offsetInCU: 0x33, offset: 0x9D, size: 0x8, addend: 0x0, symName: _OSInAppBrowserLibVersionString, symObjAddr: 0x0, symBinAddr: 0x5240, symSize: 0x0 } + - { offsetInCU: 0x67, offset: 0xD1, size: 0x8, addend: 0x0, symName: _OSInAppBrowserLibVersionNumber, symObjAddr: 0x40, symBinAddr: 0x5280, symSize: 0x0 } + - { offsetInCU: 0x2B, offset: 0x111, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfC', symObjAddr: 0x0, symBinAddr: 0x4000, symSize: 0x8 } + - { offsetInCU: 0x4C, offset: 0x132, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfC', symObjAddr: 0x0, symBinAddr: 0x4000, symSize: 0x8 } + - { offsetInCU: 0x78, offset: 0x15E, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF', symObjAddr: 0x20, symBinAddr: 0x4020, symSize: 0x60 } + - { offsetInCU: 0xB5, offset: 0x19B, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABRouter_pWOb', symObjAddr: 0x8, symBinAddr: 0x4008, symSize: 0x18 } + - { offsetInCU: 0xC8, offset: 0x1AE, size: 0x8, addend: 0x0, symName: ___swift_project_boxed_opaque_existential_1, symObjAddr: 0x80, symBinAddr: 0x4080, symSize: 0x24 } + - { offsetInCU: 0xDB, offset: 0x1C1, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwCP', symObjAddr: 0xA4, symBinAddr: 0x40A4, symSize: 0x30 } + - { offsetInCU: 0xEE, offset: 0x1D4, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwxx', symObjAddr: 0xD4, symBinAddr: 0x40D4, symSize: 0x4 } + - { offsetInCU: 0x101, offset: 0x1E7, size: 0x8, addend: 0x0, symName: ___swift_destroy_boxed_opaque_existential_1, symObjAddr: 0xD8, symBinAddr: 0x40D8, symSize: 0x20 } + - { offsetInCU: 0x114, offset: 0x1FA, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwcp', symObjAddr: 0xF8, symBinAddr: 0x40F8, symSize: 0x34 } + - { offsetInCU: 0x127, offset: 0x20D, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwca', symObjAddr: 0x12C, symBinAddr: 0x412C, symSize: 0x24 } + - { offsetInCU: 0x13A, offset: 0x220, size: 0x8, addend: 0x0, symName: ___swift_assign_boxed_opaque_existential_1, symObjAddr: 0x150, symBinAddr: 0x4150, symSize: 0x168 } + - { offsetInCU: 0x14D, offset: 0x233, size: 0x8, addend: 0x0, symName: ___swift_memcpy40_8, symObjAddr: 0x2B8, symBinAddr: 0x42B8, symSize: 0x14 } + - { offsetInCU: 0x160, offset: 0x246, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwta', symObjAddr: 0x2CC, symBinAddr: 0x42CC, symSize: 0x38 } + - { offsetInCU: 0x173, offset: 0x259, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwet', symObjAddr: 0x304, symBinAddr: 0x4304, symSize: 0x48 } + - { offsetInCU: 0x186, offset: 0x26C, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwst', symObjAddr: 0x34C, symBinAddr: 0x434C, symSize: 0x48 } + - { offsetInCU: 0x199, offset: 0x27F, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVMa', symObjAddr: 0x394, symBinAddr: 0x4394, symSize: 0x10 } +... diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Headers/OSInAppBrowserLib-Swift.h b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Headers/OSInAppBrowserLib-Swift.h new file mode 100644 index 0000000..218e0c5 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Headers/OSInAppBrowserLib-Swift.h @@ -0,0 +1,618 @@ +#if 0 +#elif defined(__arm64__) && __arm64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef OSINAPPBROWSERLIB_SWIFT_H +#define OSINAPPBROWSERLIB_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="OSInAppBrowserLib",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#elif defined(__x86_64__) && __x86_64__ +// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +#ifndef OSINAPPBROWSERLIB_SWIFT_H +#define OSINAPPBROWSERLIB_SWIFT_H +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wgcc-compat" + +#if !defined(__has_include) +# define __has_include(x) 0 +#endif +#if !defined(__has_attribute) +# define __has_attribute(x) 0 +#endif +#if !defined(__has_feature) +# define __has_feature(x) 0 +#endif +#if !defined(__has_warning) +# define __has_warning(x) 0 +#endif + +#if __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#if defined(__OBJC__) +#include +#endif +#if defined(__cplusplus) +#include +#include +#include +#include +#include +#include +#include +#else +#include +#include +#include +#include +#endif +#if defined(__cplusplus) +#if defined(__arm64e__) && __has_include() +# include +#else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" +# ifndef __ptrauth_swift_value_witness_function_pointer +# define __ptrauth_swift_value_witness_function_pointer(x) +# endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop +#endif +#endif + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if __has_include() +# include +# elif !defined(__cplusplus) +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif +#if !defined(SWIFT_RUNTIME_NAME) +# if __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +# else +# define SWIFT_RUNTIME_NAME(X) +# endif +#endif +#if !defined(SWIFT_COMPILE_NAME) +# if __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +# else +# define SWIFT_COMPILE_NAME(X) +# endif +#endif +#if !defined(SWIFT_METHOD_FAMILY) +# if __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +# else +# define SWIFT_METHOD_FAMILY(X) +# endif +#endif +#if !defined(SWIFT_NOESCAPE) +# if __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +# else +# define SWIFT_NOESCAPE +# endif +#endif +#if !defined(SWIFT_RELEASES_ARGUMENT) +# if __has_attribute(ns_consumed) +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed)) +# else +# define SWIFT_RELEASES_ARGUMENT +# endif +#endif +#if !defined(SWIFT_WARN_UNUSED_RESULT) +# if __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +# else +# define SWIFT_WARN_UNUSED_RESULT +# endif +#endif +#if !defined(SWIFT_NORETURN) +# if __has_attribute(noreturn) +# define SWIFT_NORETURN __attribute__((noreturn)) +# else +# define SWIFT_NORETURN +# endif +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif +#if !defined(SWIFT_RESILIENT_CLASS) +# if __has_attribute(objc_class_stub) +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub)) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME) +# else +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME) +# endif +#endif +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM_ATTR) +# if __has_attribute(enum_extensibility) +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility))) +# else +# define SWIFT_ENUM_ATTR(_extensibility) +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# if __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_WEAK_IMPORT) +# define SWIFT_WEAK_IMPORT __attribute__((weak_import)) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED_OBJC) +# if __has_feature(attribute_diagnose_if_objc) +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning"))) +# else +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg) +# endif +#endif +#if defined(__OBJC__) +#if !defined(IBSegueAction) +# define IBSegueAction +#endif +#endif +#if !defined(SWIFT_EXTERN) +# if defined(__cplusplus) +# define SWIFT_EXTERN extern "C" +# else +# define SWIFT_EXTERN extern +# endif +#endif +#if !defined(SWIFT_CALL) +# define SWIFT_CALL __attribute__((swiftcall)) +#endif +#if !defined(SWIFT_INDIRECT_RESULT) +# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result)) +#endif +#if !defined(SWIFT_CONTEXT) +# define SWIFT_CONTEXT __attribute__((swift_context)) +#endif +#if !defined(SWIFT_ERROR_RESULT) +# define SWIFT_ERROR_RESULT __attribute__((swift_error_result)) +#endif +#if defined(__cplusplus) +# define SWIFT_NOEXCEPT noexcept +#else +# define SWIFT_NOEXCEPT +#endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif +#if defined(_WIN32) +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) +#endif +#else +#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) +# define SWIFT_IMPORT_STDLIB_SYMBOL +#endif +#endif +#if defined(__OBJC__) +#if __has_feature(objc_modules) +#if __has_warning("-Watimport-in-framework-header") +#pragma clang diagnostic ignored "-Watimport-in-framework-header" +#endif +#endif + +#endif +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +#if __has_warning("-Wpragma-clang-attribute") +# pragma clang diagnostic ignored "-Wpragma-clang-attribute" +#endif +#pragma clang diagnostic ignored "-Wunknown-pragmas" +#pragma clang diagnostic ignored "-Wnullability" +#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension" + +#if __has_attribute(external_source_symbol) +# pragma push_macro("any") +# undef any +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="OSInAppBrowserLib",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) +# pragma pop_macro("any") +#endif + +#if defined(__OBJC__) +#endif +#if __has_attribute(external_source_symbol) +# pragma clang attribute pop +#endif +#if defined(__cplusplus) +#endif +#pragma clang diagnostic pop +#endif + +#else +#error unsupported Swift architecture +#endif diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Info.plist b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Info.plist new file mode 100644 index 0000000..438395e Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Info.plist differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.abi.json b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.abi.json new file mode 100644 index 0000000..cae84bf --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -0,0 +1,128 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "TypeDecl", + "name": "OSIABEngine", + "printedName": "OSIABEngine", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(router:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSIABEngine", + "printedName": "OSInAppBrowserLib.OSIABEngine", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV" + }, + { + "kind": "TypeNominal", + "name": "OSIABRouter", + "printedName": "OSInAppBrowserLib.OSIABRouter", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP" + } + ], + "declKind": "Constructor", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfc", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfc", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "openExternalBrowser", + "printedName": "openExternalBrowser(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSIABRouter", + "printedName": "OSIABRouter", + "children": [ + { + "kind": "Function", + "name": "openInSafari", + "printedName": "openInSafari(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP12openInSafariySbSSF", + "mangledName": "$s17OSInAppBrowserLib11OSIABRouterP12openInSafariySbSSF", + "moduleName": "OSInAppBrowserLib", + "genericSig": "<τ_0_0 where τ_0_0 : OSInAppBrowserLib.OSIABRouter>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP", + "mangledName": "$s17OSInAppBrowserLib11OSIABRouterP", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 0000000..7d51ccd --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OSInAppBrowserLib +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public struct OSIABEngine { + public init(router: any OSInAppBrowserLib.OSIABRouter) + public func openExternalBrowser(_ url: Swift.String) -> Swift.Bool +} +public protocol OSIABRouter { + func openInSafari(_ url: Swift.String) -> Swift.Bool +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..58a1c8e Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..7d51ccd --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target arm64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OSInAppBrowserLib +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public struct OSIABEngine { + public init(router: any OSInAppBrowserLib.OSIABRouter) + public func openExternalBrowser(_ url: Swift.String) -> Swift.Bool +} +public protocol OSIABRouter { + func openInSafari(_ url: Swift.String) -> Swift.Bool +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.abi.json b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.abi.json new file mode 100644 index 0000000..cae84bf --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -0,0 +1,128 @@ +{ + "ABIRoot": { + "kind": "Root", + "name": "TopLevel", + "printedName": "TopLevel", + "children": [ + { + "kind": "TypeDecl", + "name": "OSIABEngine", + "printedName": "OSIABEngine", + "children": [ + { + "kind": "Constructor", + "name": "init", + "printedName": "init(router:)", + "children": [ + { + "kind": "TypeNominal", + "name": "OSIABEngine", + "printedName": "OSInAppBrowserLib.OSIABEngine", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV" + }, + { + "kind": "TypeNominal", + "name": "OSIABRouter", + "printedName": "OSInAppBrowserLib.OSIABRouter", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP" + } + ], + "declKind": "Constructor", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfc", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfc", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "openExternalBrowser", + "printedName": "openExternalBrowser(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:17OSInAppBrowserLib11OSIABEngineV", + "mangledName": "$s17OSInAppBrowserLib11OSIABEngineV", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "OSIABRouter", + "printedName": "OSIABRouter", + "children": [ + { + "kind": "Function", + "name": "openInSafari", + "printedName": "openInSafari(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP12openInSafariySbSSF", + "mangledName": "$s17OSInAppBrowserLib11OSIABRouterP12openInSafariySbSSF", + "moduleName": "OSInAppBrowserLib", + "genericSig": "<τ_0_0 where τ_0_0 : OSInAppBrowserLib.OSIABRouter>", + "sugared_genericSig": "", + "protocolReq": true, + "declAttributes": [ + "RawDocComment" + ], + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:17OSInAppBrowserLib11OSIABRouterP", + "mangledName": "$s17OSInAppBrowserLib11OSIABRouterP", + "moduleName": "OSInAppBrowserLib", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ] + } + ], + "json_format_version": 8 + }, + "ConstValues": [] +} \ No newline at end of file diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface new file mode 100644 index 0000000..366f2eb --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OSInAppBrowserLib +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public struct OSIABEngine { + public init(router: any OSInAppBrowserLib.OSIABRouter) + public func openExternalBrowser(_ url: Swift.String) -> Swift.Bool +} +public protocol OSIABRouter { + func openInSafari(_ url: Swift.String) -> Swift.Bool +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc new file mode 100644 index 0000000..cc9f585 Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface new file mode 100644 index 0000000..366f2eb --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -0,0 +1,15 @@ +// swift-interface-format-version: 1.0 +// swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) +// swift-module-flags: -target x86_64-apple-ios14.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name OSInAppBrowserLib +// swift-module-flags-ignorable: -enable-bare-slash-regex +import Swift +import _Concurrency +import _StringProcessing +import _SwiftConcurrencyShims +public struct OSIABEngine { + public init(router: any OSInAppBrowserLib.OSIABRouter) + public func openExternalBrowser(_ url: Swift.String) -> Swift.Bool +} +public protocol OSIABRouter { + func openInSafari(_ url: Swift.String) -> Swift.Bool +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/module.modulemap b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/module.modulemap new file mode 100644 index 0000000..ad5451f --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/Modules/module.modulemap @@ -0,0 +1,4 @@ +framework module OSInAppBrowserLib { + header "OSInAppBrowserLib-Swift.h" + requires objc +} diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/OSInAppBrowserLib b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/OSInAppBrowserLib new file mode 100755 index 0000000..d0ffba4 Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/OSInAppBrowserLib differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/_CodeSignature/CodeResources b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000..5481709 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/OSInAppBrowserLib.framework/_CodeSignature/CodeResources @@ -0,0 +1,234 @@ + + + + + files + + Headers/OSInAppBrowserLib-Swift.h + + KWW7IGxjOoac6LIyLkG/CBtjbug= + + Info.plist + + kG6zskYObjotgrQErsNeJwYZ4yY= + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.abi.json + + WhAwvnDkhUsD1BedyrVfQJuif4I= + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + bYY8pPg+7zAdM7eMNVCkEupV+O8= + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + ZmMsVbyDbcz2G8FRIGG1ekigQmk= + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + bYY8pPg+7zAdM7eMNVCkEupV+O8= + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + 8pX4rL674MjnACV2yAkz/cDOoA8= + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.abi.json + + WhAwvnDkhUsD1BedyrVfQJuif4I= + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + /97OUKYUvnoW4pXzoIwIyYfZLSo= + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + RuumNQIBJEObtSgRpIe/WFTIyGY= + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + /97OUKYUvnoW4pXzoIwIyYfZLSo= + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + 6pAeAnA/wFeM+KNmzcGWDCnfY5M= + + Modules/module.modulemap + + 97qE/JP5FQV7bzcaBPYeVZ/V2B8= + + + files2 + + Headers/OSInAppBrowserLib-Swift.h + + hash2 + + dfNtrZ1gS262Jfu4aohJ2+RnNDrDS8ZzOFeb4MB5N0k= + + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.abi.json + + hash2 + + KoEHCO8ljXnknBaQsPx/6u9YWoGXuiVLmIzNCqIoGBc= + + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface + + hash2 + + aB8NyIrxWo2g7Llo/8wfAKiBPS/x2iI+0rRqMBv3ckA= + + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftdoc + + hash2 + + OMK6nGk6kfvfwuqIHe/2/4TGi4ptejpRnhJcWW2qNbk= + + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftinterface + + hash2 + + aB8NyIrxWo2g7Llo/8wfAKiBPS/x2iI+0rRqMBv3ckA= + + + Modules/OSInAppBrowserLib.swiftmodule/arm64-apple-ios-simulator.swiftmodule + + hash2 + + jQrI6T6KmOasaDFZfO//7d8BbGObZEFF5JkM+PEbctQ= + + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.abi.json + + hash2 + + KoEHCO8ljXnknBaQsPx/6u9YWoGXuiVLmIzNCqIoGBc= + + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface + + hash2 + + uY8XB0pP05TrVNUTnxgo4wZmtfr9EuMN4dluL05InUU= + + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftdoc + + hash2 + + AHnv/X8VOFYjMnPy1nI17eF1JTuZbi+uWIUQnuT/l30= + + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftinterface + + hash2 + + uY8XB0pP05TrVNUTnxgo4wZmtfr9EuMN4dluL05InUU= + + + Modules/OSInAppBrowserLib.swiftmodule/x86_64-apple-ios-simulator.swiftmodule + + hash2 + + kF9OAAGGnaFY+LMfRLvn/7Wc8o6VoAskRWwxZ1ysvEo= + + + Modules/module.modulemap + + hash2 + + IQ6Ew+1iWwE9w/V3IQDI+mNzyu1Fv4Lz8d9HT6zvsHA= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Info.plist b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Info.plist new file mode 100644 index 0000000..303c185 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.com.outsystems.rd.inappbrowser.OSInAppBrowserLib + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/DWARF/OSInAppBrowserLib b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/DWARF/OSInAppBrowserLib new file mode 100644 index 0000000..0fa700c Binary files /dev/null and b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/DWARF/OSInAppBrowserLib differ diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/aarch64/OSInAppBrowserLib.yml b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/aarch64/OSInAppBrowserLib.yml new file mode 100644 index 0000000..711c0d2 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/aarch64/OSInAppBrowserLib.yml @@ -0,0 +1,23 @@ +--- +triple: 'arm64-apple-darwin' +binary-path: '/Users/rcj/Library/Developer/Xcode/DerivedData/OSInAppBrowserLib-exxamiccymxcjdabdfefbzmbgbsk/Build/Intermediates.noindex/ArchiveIntermediates/OSInAppBrowserLib/InstallationBuildProductsLocation/Library/Frameworks/OSInAppBrowserLib.framework/OSInAppBrowserLib' +relocations: + - { offsetInCU: 0x33, offset: 0x9D, size: 0x8, addend: 0x0, symName: _OSInAppBrowserLibVersionString, symObjAddr: 0x0, symBinAddr: 0x3CB0, symSize: 0x0 } + - { offsetInCU: 0x67, offset: 0xD1, size: 0x8, addend: 0x0, symName: _OSInAppBrowserLibVersionNumber, symObjAddr: 0x40, symBinAddr: 0x3CF0, symSize: 0x0 } + - { offsetInCU: 0x2B, offset: 0x111, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfC', symObjAddr: 0x0, symBinAddr: 0x2A74, symSize: 0x8 } + - { offsetInCU: 0x4C, offset: 0x132, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfC', symObjAddr: 0x0, symBinAddr: 0x2A74, symSize: 0x8 } + - { offsetInCU: 0x78, offset: 0x15E, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF', symObjAddr: 0x20, symBinAddr: 0x2A94, symSize: 0x60 } + - { offsetInCU: 0xB5, offset: 0x19B, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABRouter_pWOb', symObjAddr: 0x8, symBinAddr: 0x2A7C, symSize: 0x18 } + - { offsetInCU: 0xC8, offset: 0x1AE, size: 0x8, addend: 0x0, symName: ___swift_project_boxed_opaque_existential_1, symObjAddr: 0x80, symBinAddr: 0x2AF4, symSize: 0x24 } + - { offsetInCU: 0xDB, offset: 0x1C1, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwCP', symObjAddr: 0xA4, symBinAddr: 0x2B18, symSize: 0x30 } + - { offsetInCU: 0xEE, offset: 0x1D4, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwxx', symObjAddr: 0xD4, symBinAddr: 0x2B48, symSize: 0x4 } + - { offsetInCU: 0x101, offset: 0x1E7, size: 0x8, addend: 0x0, symName: ___swift_destroy_boxed_opaque_existential_1, symObjAddr: 0xD8, symBinAddr: 0x2B4C, symSize: 0x20 } + - { offsetInCU: 0x114, offset: 0x1FA, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwcp', symObjAddr: 0xF8, symBinAddr: 0x2B6C, symSize: 0x34 } + - { offsetInCU: 0x127, offset: 0x20D, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwca', symObjAddr: 0x12C, symBinAddr: 0x2BA0, symSize: 0x24 } + - { offsetInCU: 0x13A, offset: 0x220, size: 0x8, addend: 0x0, symName: ___swift_assign_boxed_opaque_existential_1, symObjAddr: 0x150, symBinAddr: 0x2BC4, symSize: 0x168 } + - { offsetInCU: 0x14D, offset: 0x233, size: 0x8, addend: 0x0, symName: ___swift_memcpy40_8, symObjAddr: 0x2B8, symBinAddr: 0x2D2C, symSize: 0x14 } + - { offsetInCU: 0x160, offset: 0x246, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwta', symObjAddr: 0x2CC, symBinAddr: 0x2D40, symSize: 0x38 } + - { offsetInCU: 0x173, offset: 0x259, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwet', symObjAddr: 0x304, symBinAddr: 0x2D78, symSize: 0x48 } + - { offsetInCU: 0x186, offset: 0x26C, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwst', symObjAddr: 0x34C, symBinAddr: 0x2DC0, symSize: 0x48 } + - { offsetInCU: 0x199, offset: 0x27F, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVMa', symObjAddr: 0x394, symBinAddr: 0x2E08, symSize: 0x10 } +... diff --git a/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/x86_64/OSInAppBrowserLib.yml b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/x86_64/OSInAppBrowserLib.yml new file mode 100644 index 0000000..9993e96 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSInAppBrowserLib.xcframework/ios-arm64_x86_64-simulator/dSYMs/OSInAppBrowserLib.framework.dSYM/Contents/Resources/Relocations/x86_64/OSInAppBrowserLib.yml @@ -0,0 +1,23 @@ +--- +triple: 'x86_64-apple-darwin' +binary-path: '/Users/rcj/Library/Developer/Xcode/DerivedData/OSInAppBrowserLib-exxamiccymxcjdabdfefbzmbgbsk/Build/Intermediates.noindex/ArchiveIntermediates/OSInAppBrowserLib/InstallationBuildProductsLocation/Library/Frameworks/OSInAppBrowserLib.framework/OSInAppBrowserLib' +relocations: + - { offsetInCU: 0x33, offset: 0x9D, size: 0x8, addend: 0x0, symName: _OSInAppBrowserLibVersionString, symObjAddr: 0x0, symBinAddr: 0x3C70, symSize: 0x0 } + - { offsetInCU: 0x67, offset: 0xD1, size: 0x8, addend: 0x0, symName: _OSInAppBrowserLibVersionNumber, symObjAddr: 0x40, symBinAddr: 0x3CB0, symSize: 0x0 } + - { offsetInCU: 0x2B, offset: 0x111, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfC', symObjAddr: 0x0, symBinAddr: 0x2A00, symSize: 0x10 } + - { offsetInCU: 0x4C, offset: 0x132, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV6routerAcA11OSIABRouter_p_tcfC', symObjAddr: 0x0, symBinAddr: 0x2A00, symSize: 0x10 } + - { offsetInCU: 0x78, offset: 0x15E, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineV012openExternalC0ySbSSF', symObjAddr: 0x30, symBinAddr: 0x2A30, symSize: 0x50 } + - { offsetInCU: 0xB5, offset: 0x19B, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABRouter_pWOb', symObjAddr: 0x10, symBinAddr: 0x2A10, symSize: 0x20 } + - { offsetInCU: 0xC8, offset: 0x1AE, size: 0x8, addend: 0x0, symName: ___swift_project_boxed_opaque_existential_1, symObjAddr: 0x80, symBinAddr: 0x2A80, symSize: 0x30 } + - { offsetInCU: 0xDB, offset: 0x1C1, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwCP', symObjAddr: 0xB0, symBinAddr: 0x2AB0, symSize: 0x30 } + - { offsetInCU: 0xEE, offset: 0x1D4, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwxx', symObjAddr: 0xE0, symBinAddr: 0x2AE0, symSize: 0x10 } + - { offsetInCU: 0x101, offset: 0x1E7, size: 0x8, addend: 0x0, symName: ___swift_destroy_boxed_opaque_existential_1, symObjAddr: 0xF0, symBinAddr: 0x2AF0, symSize: 0x30 } + - { offsetInCU: 0x114, offset: 0x1FA, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwcp', symObjAddr: 0x120, symBinAddr: 0x2B20, symSize: 0x30 } + - { offsetInCU: 0x127, offset: 0x20D, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwca', symObjAddr: 0x150, symBinAddr: 0x2B50, symSize: 0x20 } + - { offsetInCU: 0x13A, offset: 0x220, size: 0x8, addend: 0x0, symName: ___swift_assign_boxed_opaque_existential_1, symObjAddr: 0x170, symBinAddr: 0x2B70, symSize: 0x130 } + - { offsetInCU: 0x14D, offset: 0x233, size: 0x8, addend: 0x0, symName: ___swift_memcpy40_8, symObjAddr: 0x2A0, symBinAddr: 0x2CA0, symSize: 0x20 } + - { offsetInCU: 0x160, offset: 0x246, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwta', symObjAddr: 0x2C0, symBinAddr: 0x2CC0, symSize: 0x40 } + - { offsetInCU: 0x173, offset: 0x259, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwet', symObjAddr: 0x300, symBinAddr: 0x2D00, symSize: 0x40 } + - { offsetInCU: 0x186, offset: 0x26C, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVwst', symObjAddr: 0x340, symBinAddr: 0x2D40, symSize: 0x40 } + - { offsetInCU: 0x199, offset: 0x27F, size: 0x8, addend: 0x0, symName: '_$s17OSInAppBrowserLib11OSIABEngineVMa', symObjAddr: 0x380, symBinAddr: 0x2D80, symSize: 0xA } +... diff --git a/ios/Sources/InAppBrowserPlugin/OSUIApplicationRouterAdapter.swift b/ios/Sources/InAppBrowserPlugin/OSUIApplicationRouterAdapter.swift new file mode 100644 index 0000000..aaf06f1 --- /dev/null +++ b/ios/Sources/InAppBrowserPlugin/OSUIApplicationRouterAdapter.swift @@ -0,0 +1,27 @@ +import OSInAppBrowserLib +import UIKit + +struct OSApplicationRouterAdapter { + private let application: UIApplication + + init(_ application: UIApplication) { + self.application = application + } +} + +extension OSApplicationRouterAdapter: OSIABRouter { + func openInSafari(_ urlString: String) -> Bool { + guard let url = URL(string: urlString), self.application.canOpenURL(url) else { return false } + DispatchQueue.main.async { + self.application.open(url) + } + return true + } +} + +extension OSIABEngine { + init(application: UIApplication) { + let routerAdapater = OSApplicationRouterAdapter(application) + self.init(router: routerAdapater) + } +} diff --git a/src/definitions.ts b/src/definitions.ts index eabafd3..c9424be 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -109,10 +109,17 @@ export interface AndroidSystemBrowserOptions { exitAnimation: AndroidAnimation; } +/** + * Defines the options for opening a URL in the external browser. + */ +export type OpenInExternalBrowserParameterModel = { + url: string; +}; + export interface InAppBrowserPlugin { openInWebView(url: string, options: WebViewOptions): void; openInSystemBrowser(url: string, options: SystemBrowserOptions): void; - openInExternalBrowser(url: string): void; + openInExternalBrowser(model: OpenInExternalBrowserParameterModel): void; close(): void; removeAllListeners(): void; addListener(eventName: 'browserClosed' | 'browserPageLoaded', listenerFunc: () => void): Promise;