diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate index 8900a404..c56e3ab1 100644 Binary files a/.swiftpm/xcode/package.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/.swiftpm/xcode/xcuserdata/i507698.xcuserdatad/xcschemes/xcschememanagement.plist b/.swiftpm/xcode/xcuserdata/i507698.xcuserdatad/xcschemes/xcschememanagement.plist index 5646aba4..66381aeb 100644 --- a/.swiftpm/xcode/xcuserdata/i507698.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/.swiftpm/xcode/xcuserdata/i507698.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,12 +7,12 @@ Gigya-Package.xcscheme_^#shared#^_ orderHint - 0 + 1 Gigya.xcscheme_^#shared#^_ orderHint - 1 + 0 GigyaAuth.xcscheme_^#shared#^_ diff --git a/Gigya.podspec b/Gigya.podspec index ac5711d1..0fbbb23a 100644 --- a/Gigya.podspec +++ b/Gigya.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Gigya' - spec.version = '1.5.9' + spec.version = '1.5.10' spec.license = 'Apache 2.0' spec.homepage = 'https://developers.gigya.com/display/GD/Swift+SDK' spec.author = 'Gigya SAP' @@ -10,7 +10,7 @@ Pod::Spec.new do |spec| your Swift application DESC - spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'core/v1.5.9' } + spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'core/v1.5.10' } spec.module_name = 'Gigya' spec.swift_version = '5.3' diff --git a/GigyaNss.podspec b/GigyaNss.podspec index 520023c0..8c11bac3 100644 --- a/GigyaNss.podspec +++ b/GigyaNss.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'GigyaNss' - spec.version = '1.9.3' + spec.version = '1.9.4' spec.license = 'Apache 2.0' spec.homepage = 'https://developers.gigya.com/display/GD/Native+Screen-Sets' spec.author = 'Gigya SAP' @@ -9,7 +9,7 @@ Pod::Spec.new do |spec| authentication methods from the standard login flow DESC - spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.3' } + spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.4' } spec.module_name = 'GigyaNss' spec.swift_version = '5.2' diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/App b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/App index 9f0263c4..5fc4b6fa 100755 Binary files a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/App and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/App differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/Info.plist b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/Info.plist new file mode 100644 index 00000000..9625e105 --- /dev/null +++ b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 11.0 + + diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/_CodeSignature/CodeResources b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/_CodeSignature/CodeResources index 79f9491d..2ae0cbe2 100644 --- a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/_CodeSignature/CodeResources +++ b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/_CodeSignature/CodeResources @@ -146,7 +146,7 @@ flutter_assets/kernel_blob.bin - bFFd5/z/y5Y814Vb6eHxI2U1P/4= + B06bzG8WVjOIRztlDb0bL+tWe1A= flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf @@ -391,7 +391,7 @@ hash2 - +ym/MjaVgjlA8mmv7ji206Kfs3cWGbAKeF/7C3o2tUk= + otKCY/t9psV/5mTLPSdgb0xLQPd3SEDL3sc1z7gHjCY= flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/FontManifest.json b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/FontManifest.json new file mode 100644 index 00000000..464ab588 --- /dev/null +++ b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/FontManifest.json @@ -0,0 +1 @@ +[{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"packages/cupertino_icons/CupertinoIcons","fonts":[{"asset":"packages/cupertino_icons/assets/CupertinoIcons.ttf"}]}] \ No newline at end of file diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/NOTICES.Z b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/NOTICES.Z new file mode 100644 index 00000000..d421cfce Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/NOTICES.Z differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/example_tests.json b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/example_tests.json new file mode 100644 index 00000000..a2cf4737 --- /dev/null +++ b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/example_tests.json @@ -0,0 +1,640 @@ +{ + "theme": { + "primaryColor": "blue", + "secondaryColor": "white", + "textColor": "black", + "enabledColor": "blue", + "disabledColor": "grey", + "errorColor": "red", + "customTheme": { + "title": { + "fontWeight": "bold", + "fontSize": 22 + }, + "subtitle": { + "fontSize": 16 + }, + "input": { + "margin": [16, 8, 15, 8] + }, + "flatButton": { + "fontSize": 14, + "fontColor": "white", + "fontWeight": 6, + "elevation": 2, + "background": "blue", + "size": [ + 220, + 44 + ] + }, + "raisedButton": { + "fontSize": 14, + "fontColor": "white", + "fontWeight": 4, + "elevation": 0, + "background": "blue", + "size": [ + 300, + 40 + ] + } + } + }, + "useSchemaValidations": false, + "i18n": { + "_default": { + "login": "Login", + "login-title": "login in with your email and password:", + "login-no-account+link": "I don't have an account. [Register](register)", + "login-social-title": "Login with social provider:", + "register": "Register", + "register-title": "Register with your email and password:", + "register-already+link": "Already registered? [Login](login)", + "register-terms+link": "I have read and understood these [terms of use](https://www.google.com)", + "register-or": " - Or - ", + "account-information": "Account Information", + "account-custom-title": "Update account special fields", + "account-custom-rubato": "Rubato Guitars", + "account-custom-parker": "Parker Guitars", + "account_marketing_notifications_selection": "I agree to receive marketing communications", + "forgot-password-title": "Forgot password", + "forgot-password-custom-title": "Please enter your email address to reset your password:", + "forgot-password-back-to-login": "[Back to login](login)", + "forgot-password+link": "[Forgot password](forgot-password)", + "common-email": "Email", + "common-password": "Password", + "common-submit": "Submit", + "common-first-name": "First Name", + "common-last-name": "Last Name", + "common-zip": "Zipcode", + "common-rescueString": "My rescue code", + "error-required-field": "This field is required", + "error-invalid-email": "Invalid email format", + "error-invalid-format": "Invalid format", + "error-schema-required-validation": "Validation failed. Field is required", + "error-schema-regex-validation": "Validation failed on regular expression", + "error-schema-checkbox-validation": "Validation failed. boolean field" + }, + "es": { + "login": "Iniciar sesión", + "login-title": "inicie sesión con su correo electrónico y contraseña:", + "login-no-account+link": "No tengo una cuenta [Registrarse](register)", + "login-social-title": "Inicie sesión con el proveedor social:", + "register": "Registrarse", + "register-title": "Regístrese con su correo electrónico y contraseña:", + "register-already+link": "¿Ya registrado? [Iniciar sesión](login)", + "register-terms+link": "He leído y entiendo estos [términos de uso](https://www.google.com)", + "register-or": " - o - ", + "account-information": "Información de la cuenta", + "account-custom-title": "Actualizar campos especiales de cuenta", + "account-custom-rubato": "Guitarras Rubato", + "account-custom-parker": "Guitarras Parker", + "account_marketing_notifications_selection": "Acepto recibir comunicaciones de marketing", + "forgot-password-title": "Se te olvidó tu contraseña", + "forgot-password-custom-title": "Ingrese su dirección de correo electrónico para restablecer su contraseña:", + "forgot-password-back-to-login": "[Atrás para iniciar sesión](login)", + "forgot-password+link": "[Se te olvidó tu contraseña](forgot-password)", + "common-email": "Email", + "common-password": "Contraseña", + "common-submit": "Enviar", + "common-first-name": "Nombre de pila", + "common-last-name": "Apellido", + "common-zip": "Código postal", + "common-rescueString": "Mi código de rescate", + "error-required-field": "este campo es requerido", + "error-invalid-email": "Formato de correo inválido", + "error-invalid-format": "Formato inválido", + "error-schema-required-validation": "Validación fallida. Se requiere campo", + "error-schema-regex-validation": "La validación falló en la expresión regular", + "error-schema-checkbox-validation": "Validación fallida. campo booleano" + } + }, + "routing": { + "initial": "account-custom", + "default": { + "onSuccess": "_dismiss", + "onPendingEmailVerification": "_dismiss" + } + }, + "screens": { + "login": { + "routing": { + "onPendingRegistration": "account-update", + "onSuccess": "account-update" + }, + "action": "login", + "appBar": { + "textKey": "login" + }, + "children": [ + { + "type": "container", + "stack": "horizontal", + "alignment": "start", + "style": { + "margin": 0 + }, + "children": [ + { + "type": "label", + "textKey": "login-social-title", + "theme": "subtitle", + "style": { + "margin": 16 + } + } + ] + }, + { + "type": "socialLoginButton", + "provider": "facebook", + "textKey": "social-sign-in-facebook", + "style": { + "margin": [ + 16, + 0, + 16, + 0 + ], + "cornerRadius": 5, + "elevation": 0 + } + }, + { + "type": "socialLoginButton", + "provider": "linkedin", + "style": { + "margin": [ + 16, + 0, + 16, + 0 + ], + "cornerRadius": 5, + "elevation": 0 + } + }, + { + "type": "socialLoginButton", + "provider": "google", + "style": { + "margin": [ + 16, + 0, + 16, + 0 + ], + "cornerRadius": 5, + "elevation": 0 + } + }, + { + "type": "container", + "stack": "horizontal", + "alignment": "start", + "style": { + "margin": 16 + }, + "children": [ + { + "type": "label", + "textKey": "login-title", + "theme": "subtitle" + } + ] + }, + { + "bind": "#loginID", + "type": "emailInput", + "textKey": "common-email", + "theme": "input", + "style": { + "cornerRadius": 5, + "borderSize": 1 + }, + "validations": { + "required": { + "enabled": true, + "errorKey": "error-required-field" + }, + "regex": { + "enabled": true, + "format": "^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\\.[a-zA-Z]+", + "errorKey": "error-invalid-email" + } + } + }, + { + "bind": "#password", + "type": "passwordInput", + "textKey": "common-password", + "theme": "input", + "style": { + "cornerRadius": 5, + "borderSize": 1 + }, + "validations": { + "required": { + "enabled": true, + "errorKey": "error-required-field" + }, + "regex": { + "enabled": true, + "format": "(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[!@%#$&*~]).{8,}", + "errorKey": "error-invalid-format" + } + } + }, + { + "type": "label", + "textKey": "forgot-password+link", + "style": { + "fontSize": 14, + "margin": [ + 0, + 8, + 0, + 8 + ] + } + }, + { + "type": "label", + "textKey": "login-no-account+link", + "style": { + "margin": [ + 0, + 24, + 0, + 24 + ] + } + }, + { + "type": "submit", + "textKey": "common-submit", + "theme": "raisedButton", + "style": { + "size": [200, 44], + "cornerRadius": 5, + "borderColor": "black", + "borderSize": 2 + } + } + ] + }, + "register": { + "routing": { + "onPendingRegistration": "account-update", + "onSuccess": "_dismiss" + }, + "action": "register", + "appBar": { + "textKey": "Register" + }, + "stack": "vertical", + "children": [ + { + "type": "container", + "stack": "horizontal", + "alignment": "start", + "style": { + "margin": 0 + }, + "children": [ + { + "type": "label", + "textKey": "register-title", + "style": { + "margin": 16 + } + } + ] + }, + { + "bind": "#email", + "type": "emailInput", + "textKey": "common-email", + "theme": "input" + }, + { + "type": "container", + "stack": "horizontal", + "alignment": "start", + "style": { + "margin": 0 + }, + "children": [ + { + "bind": "profile.firstName", + "type": "textInput", + "textKey": "common-first-name", + "theme": "input" + }, + { + "bind": "profile.lastName", + "type": "textInput", + "textKey": "common-last-name", + "theme": "input" + } + ] + }, + { + "bind": "#password", + "type": "passwordInput", + "textKey": "common-password", + "theme": "input" + }, + { + "type": "label", + "textKey": "register-already+link", + "style": { + "margin": [ + 0, + 26, + 0, + 16 + ] + } + }, + { + "bind": "data.terms", + "type": "checkbox", + "textKey": "register-terms+link", + "style": { + "margin": [16, 0, 16, 0] + } + }, + { + "type": "label", + "textKey": "register-or", + "style": { + "fontSize": 16, + "margin": [ + 16, + 4, + 16, + 8 + ] + } + }, + { + "type": "socialLoginGrid", + "providers": [ + "facebook", + "google", + "wechat", + "yahoo", + "linkedin", + "twitter", + "apple", + "line", + "amazon", + "yahooJapan" + ], + "columns": 3, + "rows": 2, + "style": { + "cornerRadius": 6, + "fontSize": 14, + "fontColor": "black", + "fontWeight": "bold", + "elevation": 2, + "margin": 16, + "indicatorColor": "grey" + } + }, + { + "type": "submit", + "textKey": "common-submit", + "theme": "raisedButton", + "style": { + "size": [ + 280, + 44 + ], + "margin": 16, + "cornerRadius": 6 + } + } + ] + }, + "account-update": { + "routing": { + "onSuccess": "_dismiss" + }, + "action": "setAccount", + "appBar": { + "textKey": "account-information" + }, + "stack": "vertical", + "children": [ + { + "type": "profilePhoto", + "allowUpload": false, + "default": "https://www.w3schools.com/howto/img_avatar.png", + "style": { + "cornerRadius": 40, + "elevation": 4, + "margin": [ + 0, + 22, + 0, + 10 + ], + "size": [ + 80, + 80 + ] + } + }, + { + "bind": "profile.firstName", + "type": "textInput", + "textKey": "common-first-name", + "theme": "input" + }, + { + "bind": "profile.lastName", + "type": "textInput", + "textKey": "common-last-name", + "theme": "input" + }, + { + "bind": "profile.email", + "type": "textInput", + "textKey": "common-email", + "theme": "input" + }, + { + "bind": "profile.zip", + "type": "textInput", + "textKey": "common-zip", + "theme": "input" + }, + { + "bind": "data.rescueString", + "type": "textInput", + "textKey": "common-rescueString", + "theme": "input" + }, + { + "type": "checkbox", + "bind": "data.marketingNotifications", + "textKey": "account_marketing_notifications_selection", + "style": { + "margin": [ + 0, + 10, + 0, + 0 + ] + } + }, + { + "type": "submit", + "textKey": "common-submit", + "theme": "raisedButton", + "style": { + "size": [200, 44], + "margin": [ + 0, + 10, + 0, + 16 + ] + } + } + ] + }, + "account-custom": { + "routing": { + "onSuccess": "_dismiss" + }, + "action": "setAccount", + "appBar": { + "textKey": "account-information" + }, + "stack": "vertical", + "children": [ + { + "type": "label", + "textKey": "account-custom-title", + "theme": "title", + "style": { + "margin": 16 + } + }, + { + "type": "radio", + "bind": "data.favGuitar", + "style": { + "margin": [ + 16, + 30, + 16, + 0 + ] + }, + "options": [ + { + "default": true, + "value": "PRS", + "textKey": "Paul Reed Smith" + }, + { + "value": "Rubato", + "textKey": "account-custom-rubato" + }, + { + "value": "Parker", + "textKey": "account-custom-parker" + } + ] + }, + { + "type": "submit", + "textKey": "common-submit", + "theme": "raisedButton", + "style": { + "size": [200, 44], + "margin": [ + 0, + 50, + 0, + 0 + ] + } + } + ] + }, + "forgot-password": { + "routing": { + "onSuccess": "_dismiss" + }, + "action": "forgotPassword", + "appBar": { + "textKey": "forgot-password-title" + }, + "stack": "vertical", + "children": [ + { + "type": "label", + "textKey": "forgot-password-custom-title", + "theme": "subtitle", + "style" : { + "margin": 16 + } + }, + { + "bind": "#loginID", + "type": "emailInput", + "textKey": "common-email", + "theme": "input", + "style": { + "cornerRadius": 5, + "borderSize": 1 + }, + "validations": { + "required": { + "enabled": true, + "errorKey": "error-required-field" + }, + "regex": { + "enabled": true, + "format": "^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\\.[a-zA-Z]+", + "errorKey": "error-invalid-email" + } + } + }, + { + "type": "label", + "textKey": "forgot-password-back-to-login", + "style": { + "margin": [ + 0, + 26, + 0, + 16 + ] + } + }, + { + "type": "submit", + "textKey": "common-submit", + "theme": "raisedButton", + "style": { + "margin": [ + 0, + 40, + 0, + 0 + ], + "cornerRadius": 5 + } + } + ] + } + } +} diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/amazon.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/amazon.png new file mode 100644 index 00000000..c654eb6a Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/amazon.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/apple.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/apple.png new file mode 100644 index 00000000..3f94fcd4 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/apple.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/facebook.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/facebook.png new file mode 100755 index 00000000..d21a493b Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/facebook.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_amazon.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_amazon.png new file mode 100644 index 00000000..07a5c0e3 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_amazon.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_apple.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_apple.png new file mode 100644 index 00000000..3f94fcd4 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_apple.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_facebook.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_facebook.png new file mode 100755 index 00000000..d21a493b Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_facebook.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_google.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_google.png new file mode 100644 index 00000000..6ccfef4d Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_google.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_line.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_line.png new file mode 100644 index 00000000..a702cf4b Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_line.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_linkedin.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_linkedin.png new file mode 100644 index 00000000..a252f534 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_linkedin.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_twitter.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_twitter.png new file mode 100644 index 00000000..88f5865f Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_twitter.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_vkontakte.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_vkontakte.png new file mode 100644 index 00000000..e6a317a8 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_vkontakte.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_wechat.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_wechat.png new file mode 100644 index 00000000..c9ed6ff7 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_wechat.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_yahoo.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_yahoo.png new file mode 100644 index 00000000..87c8738f Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_yahoo.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_yahooJapan.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_yahooJapan.png new file mode 100644 index 00000000..b4ef5eac Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/g_yahooJapan.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/google.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/google.png new file mode 100644 index 00000000..0bf2a89a Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/google.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/line.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/line.png new file mode 100644 index 00000000..a702cf4b Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/line.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/linkedin.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/linkedin.png new file mode 100644 index 00000000..a252f534 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/linkedin.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/twitter.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/twitter.png new file mode 100644 index 00000000..88f5865f Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/twitter.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/vkontakte.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/vkontakte.png new file mode 100644 index 00000000..e6a317a8 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/vkontakte.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/wechat.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/wechat.png new file mode 100644 index 00000000..c9ed6ff7 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/wechat.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/yahoo.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/yahoo.png new file mode 100644 index 00000000..87c8738f Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/yahoo.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/yahooJapan.png b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/yahooJapan.png new file mode 100644 index 00000000..b4ef5eac Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/social_images/yahooJapan.png differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/static/countries.json b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/static/countries.json new file mode 100644 index 00000000..828b30cf --- /dev/null +++ b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/assets/static/countries.json @@ -0,0 +1,1478 @@ +[ + { + "name": "Afghanistan", + "flag": "🇦🇫", + "code": "AF", + "dial_code": "+93" + }, + { + "name": "Åland Islands", + "flag": "🇦🇽", + "code": "AX", + "dial_code": "+358" + }, + { + "name": "Albania", + "flag": "🇦🇱", + "code": "AL", + "dial_code": "+355" + }, + { + "name": "Algeria", + "flag": "🇩🇿", + "code": "DZ", + "dial_code": "+213" + }, + { + "name": "American Samoa", + "flag": "🇦🇸", + "code": "AS", + "dial_code": "+1684" + }, + { + "name": "Andorra", + "flag": "🇦🇩", + "code": "AD", + "dial_code": "+376" + }, + { + "name": "Angola", + "flag": "🇦🇴", + "code": "AO", + "dial_code": "+244" + }, + { + "name": "Anguilla", + "flag": "🇦🇮", + "code": "AI", + "dial_code": "+1264" + }, + { + "name": "Antarctica", + "flag": "🇦🇶", + "code": "AQ", + "dial_code": "+672" + }, + { + "name": "Antigua and Barbuda", + "flag": "🇦🇬", + "code": "AG", + "dial_code": "+1268" + }, + { + "name": "Argentina", + "flag": "🇦🇷", + "code": "AR", + "dial_code": "+54" + }, + { + "name": "Armenia", + "flag": "🇦🇲", + "code": "AM", + "dial_code": "+374" + }, + { + "name": "Aruba", + "flag": "🇦🇼", + "code": "AW", + "dial_code": "+297" + }, + { + "name": "Australia", + "flag": "🇦🇺", + "code": "AU", + "dial_code": "+61" + }, + { + "name": "Austria", + "flag": "🇦🇹", + "code": "AT", + "dial_code": "+43" + }, + { + "name": "Azerbaijan", + "flag": "🇦🇿", + "code": "AZ", + "dial_code": "+994" + }, + { + "name": "Bahamas", + "flag": "🇧🇸", + "code": "BS", + "dial_code": "+1242" + }, + { + "name": "Bahrain", + "flag": "🇧🇭", + "code": "BH", + "dial_code": "+973" + }, + { + "name": "Bangladesh", + "flag": "🇧🇩", + "code": "BD", + "dial_code": "+880" + }, + { + "name": "Barbados", + "flag": "🇧🇧", + "code": "BB", + "dial_code": "+1246" + }, + { + "name": "Belarus", + "flag": "🇧🇾", + "code": "BY", + "dial_code": "+375" + }, + { + "name": "Belgium", + "flag": "🇧🇪", + "code": "BE", + "dial_code": "+32" + }, + { + "name": "Belize", + "flag": "🇧🇿", + "code": "BZ", + "dial_code": "+501" + }, + { + "name": "Benin", + "flag": "🇧🇯", + "code": "BJ", + "dial_code": "+229" + }, + { + "name": "Bermuda", + "flag": "🇧🇲", + "code": "BM", + "dial_code": "+1441" + }, + { + "name": "Bhutan", + "flag": "🇧🇹", + "code": "BT", + "dial_code": "+975" + }, + { + "name": "Bolivia, Plurinational State of bolivia", + "flag": "🇧🇴", + "code": "BO", + "dial_code": "+591" + }, + { + "name": "Bosnia and Herzegovina", + "flag": "🇧🇦", + "code": "BA", + "dial_code": "+387" + }, + { + "name": "Botswana", + "flag": "🇧🇼", + "code": "BW", + "dial_code": "+267" + }, + { + "name": "Bouvet Island", + "flag": "🇧🇻", + "code": "BV", + "dial_code": "+47" + }, + { + "name": "Brazil", + "flag": "🇧🇷", + "code": "BR", + "dial_code": "+55" + }, + { + "name": "British Indian Ocean Territory", + "flag": "🇮🇴", + "code": "IO", + "dial_code": "+246" + }, + { + "name": "Brunei Darussalam", + "flag": "🇧🇳", + "code": "BN", + "dial_code": "+673" + }, + { + "name": "Bulgaria", + "flag": "🇧🇬", + "code": "BG", + "dial_code": "+359" + }, + { + "name": "Burkina Faso", + "flag": "🇧🇫", + "code": "BF", + "dial_code": "+226" + }, + { + "name": "Burundi", + "flag": "🇧🇮", + "code": "BI", + "dial_code": "+257" + }, + { + "name": "Cambodia", + "flag": "🇰🇭", + "code": "KH", + "dial_code": "+855" + }, + { + "name": "Cameroon", + "flag": "🇨🇲", + "code": "CM", + "dial_code": "+237" + }, + { + "name": "Canada", + "flag": "🇨🇦", + "code": "CA", + "dial_code": "+1" + }, + { + "name": "Cape Verde", + "flag": "🇨🇻", + "code": "CV", + "dial_code": "+238" + }, + { + "name": "Cayman Islands", + "flag": "🇰🇾", + "code": "KY", + "dial_code": "+345" + }, + { + "name": "Central African Republic", + "flag": "🇨🇫", + "code": "CF", + "dial_code": "+236" + }, + { + "name": "Chad", + "flag": "🇹🇩", + "code": "TD", + "dial_code": "+235" + }, + { + "name": "Chile", + "flag": "🇨🇱", + "code": "CL", + "dial_code": "+56" + }, + { + "name": "China", + "flag": "🇨🇳", + "code": "CN", + "dial_code": "+86" + }, + { + "name": "Christmas Island", + "flag": "🇨🇽", + "code": "CX", + "dial_code": "+61" + }, + { + "name": "Cocos (Keeling) Islands", + "flag": "🇨🇨", + "code": "CC", + "dial_code": "+61" + }, + { + "name": "Colombia", + "flag": "🇨🇴", + "code": "CO", + "dial_code": "+57" + }, + { + "name": "Comoros", + "flag": "🇰🇲", + "code": "KM", + "dial_code": "+269" + }, + { + "name": "Congo", + "flag": "🇨🇬", + "code": "CG", + "dial_code": "+242" + }, + { + "name": "Congo, The Democratic Republic of the Congo", + "flag": "🇨🇩", + "code": "CD", + "dial_code": "+243" + }, + { + "name": "Cook Islands", + "flag": "🇨🇰", + "code": "CK", + "dial_code": "+682" + }, + { + "name": "Costa Rica", + "flag": "🇨🇷", + "code": "CR", + "dial_code": "+506" + }, + { + "name": "Cote d'Ivoire", + "flag": "🇨🇮", + "code": "CI", + "dial_code": "+225" + }, + { + "name": "Croatia", + "flag": "🇭🇷", + "code": "HR", + "dial_code": "+385" + }, + { + "name": "Cuba", + "flag": "🇨🇺", + "code": "CU", + "dial_code": "+53" + }, + { + "name": "Cyprus", + "flag": "🇨🇾", + "code": "CY", + "dial_code": "+357" + }, + { + "name": "Czech Republic", + "flag": "🇨🇿", + "code": "CZ", + "dial_code": "+420" + }, + { + "name": "Denmark", + "flag": "🇩🇰", + "code": "DK", + "dial_code": "+45" + }, + { + "name": "Djibouti", + "flag": "🇩🇯", + "code": "DJ", + "dial_code": "+253" + }, + { + "name": "Dominica", + "flag": "🇩🇲", + "code": "DM", + "dial_code": "+1767" + }, + { + "name": "Dominican Republic", + "flag": "🇩🇴", + "code": "DO", + "dial_code": "+1849" + }, + { + "name": "Ecuador", + "flag": "🇪🇨", + "code": "EC", + "dial_code": "+593" + }, + { + "name": "Egypt", + "flag": "🇪🇬", + "code": "EG", + "dial_code": "+20" + }, + { + "name": "El Salvador", + "flag": "🇸🇻", + "code": "SV", + "dial_code": "+503" + }, + { + "name": "Equatorial Guinea", + "flag": "🇬🇶", + "code": "GQ", + "dial_code": "+240" + }, + { + "name": "Eritrea", + "flag": "🇪🇷", + "code": "ER", + "dial_code": "+291" + }, + { + "name": "Estonia", + "flag": "🇪🇪", + "code": "EE", + "dial_code": "+372" + }, + { + "name": "Ethiopia", + "flag": "🇪🇹", + "code": "ET", + "dial_code": "+251" + }, + { + "name": "Falkland Islands (Malvinas)", + "flag": "🇫🇰", + "code": "FK", + "dial_code": "+500" + }, + { + "name": "Faroe Islands", + "flag": "🇫🇴", + "code": "FO", + "dial_code": "+298" + }, + { + "name": "Fiji", + "flag": "🇫🇯", + "code": "FJ", + "dial_code": "+679" + }, + { + "name": "Finland", + "flag": "🇫🇮", + "code": "FI", + "dial_code": "+358" + }, + { + "name": "France", + "flag": "🇫🇷", + "code": "FR", + "dial_code": "+33" + }, + { + "name": "French Guiana", + "flag": "🇬🇫", + "code": "GF", + "dial_code": "+594" + }, + { + "name": "French Polynesia", + "flag": "🇵🇫", + "code": "PF", + "dial_code": "+689" + }, + { + "name": "French Southern Territories", + "flag": "🇹🇫", + "code": "TF", + "dial_code": "+262" + }, + { + "name": "Gabon", + "flag": "🇬🇦", + "code": "GA", + "dial_code": "+241" + }, + { + "name": "Gambia", + "flag": "🇬🇲", + "code": "GM", + "dial_code": "+220" + }, + { + "name": "Georgia", + "flag": "🇬🇪", + "code": "GE", + "dial_code": "+995" + }, + { + "name": "Germany", + "flag": "🇩🇪", + "code": "DE", + "dial_code": "+49" + }, + { + "name": "Ghana", + "flag": "🇬🇭", + "code": "GH", + "dial_code": "+233" + }, + { + "name": "Gibraltar", + "flag": "🇬🇮", + "code": "GI", + "dial_code": "+350" + }, + { + "name": "Greece", + "flag": "🇬🇷", + "code": "GR", + "dial_code": "+30" + }, + { + "name": "Greenland", + "flag": "🇬🇱", + "code": "GL", + "dial_code": "+299" + }, + { + "name": "Grenada", + "flag": "🇬🇩", + "code": "GD", + "dial_code": "+1473" + }, + { + "name": "Guadeloupe", + "flag": "🇬🇵", + "code": "GP", + "dial_code": "+590" + }, + { + "name": "Guam", + "flag": "🇬🇺", + "code": "GU", + "dial_code": "+1671" + }, + { + "name": "Guatemala", + "flag": "🇬🇹", + "code": "GT", + "dial_code": "+502" + }, + { + "name": "Guernsey", + "flag": "🇬🇬", + "code": "GG", + "dial_code": "+44" + }, + { + "name": "Guinea", + "flag": "🇬🇳", + "code": "GN", + "dial_code": "+224" + }, + { + "name": "Guinea-Bissau", + "flag": "🇬🇼", + "code": "GW", + "dial_code": "+245" + }, + { + "name": "Guyana", + "flag": "🇬🇾", + "code": "GY", + "dial_code": "+592" + }, + { + "name": "Haiti", + "flag": "🇭🇹", + "code": "HT", + "dial_code": "+509" + }, + { + "name": "Heard Island and Mcdonald Islands", + "flag": "🇭🇲", + "code": "HM", + "dial_code": "+672" + }, + { + "name": "Holy See (Vatican City State)", + "flag": "🇻🇦", + "code": "VA", + "dial_code": "+379" + }, + { + "name": "Honduras", + "flag": "🇭🇳", + "code": "HN", + "dial_code": "+504" + }, + { + "name": "Hong Kong", + "flag": "🇭🇰", + "code": "HK", + "dial_code": "+852" + }, + { + "name": "Hungary", + "flag": "🇭🇺", + "code": "HU", + "dial_code": "+36" + }, + { + "name": "Iceland", + "flag": "🇮🇸", + "code": "IS", + "dial_code": "+354" + }, + { + "name": "India", + "flag": "🇮🇳", + "code": "IN", + "dial_code": "+91" + }, + { + "name": "Indonesia", + "flag": "🇮🇩", + "code": "ID", + "dial_code": "+62" + }, + { + "name": "Iran, Islamic Republic of Persian Gulf", + "flag": "🇮🇷", + "code": "IR", + "dial_code": "+98" + }, + { + "name": "Iraq", + "flag": "🇮🇶", + "code": "IQ", + "dial_code": "+964" + }, + { + "name": "Ireland", + "flag": "🇮🇪", + "code": "IE", + "dial_code": "+353" + }, + { + "name": "Isle of Man", + "flag": "🇮🇲", + "code": "IM", + "dial_code": "+44" + }, + { + "name": "Israel", + "flag": "🇮🇱", + "code": "IL", + "dial_code": "+972" + }, + { + "name": "Italy", + "flag": "🇮🇹", + "code": "IT", + "dial_code": "+39" + }, + { + "name": "Jamaica", + "flag": "🇯🇲", + "code": "JM", + "dial_code": "+1876" + }, + { + "name": "Japan", + "flag": "🇯🇵", + "code": "JP", + "dial_code": "+81" + }, + { + "name": "Jersey", + "flag": "🇯🇪", + "code": "JE", + "dial_code": "+44" + }, + { + "name": "Jordan", + "flag": "🇯🇴", + "code": "JO", + "dial_code": "+962" + }, + { + "name": "Kazakhstan", + "flag": "🇰🇿", + "code": "KZ", + "dial_code": "+7" + }, + { + "name": "Kenya", + "flag": "🇰🇪", + "code": "KE", + "dial_code": "+254" + }, + { + "name": "Kiribati", + "flag": "🇰🇮", + "code": "KI", + "dial_code": "+686" + }, + { + "name": "Korea, Democratic People's Republic of Korea", + "flag": "🇰🇵", + "code": "KP", + "dial_code": "+850" + }, + { + "name": "Korea, Republic of South Korea", + "flag": "🇰🇷", + "code": "KR", + "dial_code": "+82" + }, + { + "name": "Kosovo", + "flag": "🇽🇰", + "code": "XK", + "dial_code": "+383" + }, + { + "name": "Kuwait", + "flag": "🇰🇼", + "code": "KW", + "dial_code": "+965" + }, + { + "name": "Kyrgyzstan", + "flag": "🇰🇬", + "code": "KG", + "dial_code": "+996" + }, + { + "name": "Laos", + "flag": "🇱🇦", + "code": "LA", + "dial_code": "+856" + }, + { + "name": "Latvia", + "flag": "🇱🇻", + "code": "LV", + "dial_code": "+371" + }, + { + "name": "Lebanon", + "flag": "🇱🇧", + "code": "LB", + "dial_code": "+961" + }, + { + "name": "Lesotho", + "flag": "🇱🇸", + "code": "LS", + "dial_code": "+266" + }, + { + "name": "Liberia", + "flag": "🇱🇷", + "code": "LR", + "dial_code": "+231" + }, + { + "name": "Libyan Arab Jamahiriya", + "flag": "🇱🇾", + "code": "LY", + "dial_code": "+218" + }, + { + "name": "Liechtenstein", + "flag": "🇱🇮", + "code": "LI", + "dial_code": "+423" + }, + { + "name": "Lithuania", + "flag": "🇱🇹", + "code": "LT", + "dial_code": "+370" + }, + { + "name": "Luxembourg", + "flag": "🇱🇺", + "code": "LU", + "dial_code": "+352" + }, + { + "name": "Macao", + "flag": "🇲🇴", + "code": "MO", + "dial_code": "+853" + }, + { + "name": "Macedonia", + "flag": "🇲🇰", + "code": "MK", + "dial_code": "+389" + }, + { + "name": "Madagascar", + "flag": "🇲🇬", + "code": "MG", + "dial_code": "+261" + }, + { + "name": "Malawi", + "flag": "🇲🇼", + "code": "MW", + "dial_code": "+265" + }, + { + "name": "Malaysia", + "flag": "🇲🇾", + "code": "MY", + "dial_code": "+60" + }, + { + "name": "Maldives", + "flag": "🇲🇻", + "code": "MV", + "dial_code": "+960" + }, + { + "name": "Mali", + "flag": "🇲🇱", + "code": "ML", + "dial_code": "+223" + }, + { + "name": "Malta", + "flag": "🇲🇹", + "code": "MT", + "dial_code": "+356" + }, + { + "name": "Marshall Islands", + "flag": "🇲🇭", + "code": "MH", + "dial_code": "+692" + }, + { + "name": "Martinique", + "flag": "🇲🇶", + "code": "MQ", + "dial_code": "+596" + }, + { + "name": "Mauritania", + "flag": "🇲🇷", + "code": "MR", + "dial_code": "+222" + }, + { + "name": "Mauritius", + "flag": "🇲🇺", + "code": "MU", + "dial_code": "+230" + }, + { + "name": "Mayotte", + "flag": "🇾🇹", + "code": "YT", + "dial_code": "+262" + }, + { + "name": "Mexico", + "flag": "🇲🇽", + "code": "MX", + "dial_code": "+52" + }, + { + "name": "Micronesia, Federated States of Micronesia", + "flag": "🇫🇲", + "code": "FM", + "dial_code": "+691" + }, + { + "name": "Moldova", + "flag": "🇲🇩", + "code": "MD", + "dial_code": "+373" + }, + { + "name": "Monaco", + "flag": "🇲🇨", + "code": "MC", + "dial_code": "+377" + }, + { + "name": "Mongolia", + "flag": "🇲🇳", + "code": "MN", + "dial_code": "+976" + }, + { + "name": "Montenegro", + "flag": "🇲🇪", + "code": "ME", + "dial_code": "+382" + }, + { + "name": "Montserrat", + "flag": "🇲🇸", + "code": "MS", + "dial_code": "+1664" + }, + { + "name": "Morocco", + "flag": "🇲🇦", + "code": "MA", + "dial_code": "+212" + }, + { + "name": "Mozambique", + "flag": "🇲🇿", + "code": "MZ", + "dial_code": "+258" + }, + { + "name": "Myanmar", + "flag": "🇲🇲", + "code": "MM", + "dial_code": "+95" + }, + { + "name": "Namibia", + "flag": "🇳🇦", + "code": "NA", + "dial_code": "+264" + }, + { + "name": "Nauru", + "flag": "🇳🇷", + "code": "NR", + "dial_code": "+674" + }, + { + "name": "Nepal", + "flag": "🇳🇵", + "code": "NP", + "dial_code": "+977" + }, + { + "name": "Netherlands", + "flag": "🇳🇱", + "code": "NL", + "dial_code": "+31" + }, + { + "name": "Netherlands Antilles", + "flag": "", + "code": "AN", + "dial_code": "+599" + }, + { + "name": "New Caledonia", + "flag": "🇳🇨", + "code": "NC", + "dial_code": "+687" + }, + { + "name": "New Zealand", + "flag": "🇳🇿", + "code": "NZ", + "dial_code": "+64" + }, + { + "name": "Nicaragua", + "flag": "🇳🇮", + "code": "NI", + "dial_code": "+505" + }, + { + "name": "Niger", + "flag": "🇳🇪", + "code": "NE", + "dial_code": "+227" + }, + { + "name": "Nigeria", + "flag": "🇳🇬", + "code": "NG", + "dial_code": "+234" + }, + { + "name": "Niue", + "flag": "🇳🇺", + "code": "NU", + "dial_code": "+683" + }, + { + "name": "Norfolk Island", + "flag": "🇳🇫", + "code": "NF", + "dial_code": "+672" + }, + { + "name": "Northern Mariana Islands", + "flag": "🇲🇵", + "code": "MP", + "dial_code": "+1670" + }, + { + "name": "Norway", + "flag": "🇳🇴", + "code": "NO", + "dial_code": "+47" + }, + { + "name": "Oman", + "flag": "🇴🇲", + "code": "OM", + "dial_code": "+968" + }, + { + "name": "Pakistan", + "flag": "🇵🇰", + "code": "PK", + "dial_code": "+92" + }, + { + "name": "Palau", + "flag": "🇵🇼", + "code": "PW", + "dial_code": "+680" + }, + { + "name": "Palestinian Territory, Occupied", + "flag": "🇵🇸", + "code": "PS", + "dial_code": "+970" + }, + { + "name": "Panama", + "flag": "🇵🇦", + "code": "PA", + "dial_code": "+507" + }, + { + "name": "Papua New Guinea", + "flag": "🇵🇬", + "code": "PG", + "dial_code": "+675" + }, + { + "name": "Paraguay", + "flag": "🇵🇾", + "code": "PY", + "dial_code": "+595" + }, + { + "name": "Peru", + "flag": "🇵🇪", + "code": "PE", + "dial_code": "+51" + }, + { + "name": "Philippines", + "flag": "🇵🇭", + "code": "PH", + "dial_code": "+63" + }, + { + "name": "Pitcairn", + "flag": "🇵🇳", + "code": "PN", + "dial_code": "+64" + }, + { + "name": "Poland", + "flag": "🇵🇱", + "code": "PL", + "dial_code": "+48" + }, + { + "name": "Portugal", + "flag": "🇵🇹", + "code": "PT", + "dial_code": "+351" + }, + { + "name": "Puerto Rico", + "flag": "🇵🇷", + "code": "PR", + "dial_code": "+1939" + }, + { + "name": "Qatar", + "flag": "🇶🇦", + "code": "QA", + "dial_code": "+974" + }, + { + "name": "Romania", + "flag": "🇷🇴", + "code": "RO", + "dial_code": "+40" + }, + { + "name": "Russia", + "flag": "🇷🇺", + "code": "RU", + "dial_code": "+7" + }, + { + "name": "Rwanda", + "flag": "🇷🇼", + "code": "RW", + "dial_code": "+250" + }, + { + "name": "Reunion", + "flag": "🇷🇪", + "code": "RE", + "dial_code": "+262" + }, + { + "name": "Saint Barthelemy", + "flag": "🇧🇱", + "code": "BL", + "dial_code": "+590" + }, + { + "name": "Saint Helena, Ascension and Tristan Da Cunha", + "flag": "🇸🇭", + "code": "SH", + "dial_code": "+290" + }, + { + "name": "Saint Kitts and Nevis", + "flag": "🇰🇳", + "code": "KN", + "dial_code": "+1869" + }, + { + "name": "Saint Lucia", + "flag": "🇱🇨", + "code": "LC", + "dial_code": "+1758" + }, + { + "name": "Saint Martin", + "flag": "🇲🇫", + "code": "MF", + "dial_code": "+590" + }, + { + "name": "Saint Pierre and Miquelon", + "flag": "🇵🇲", + "code": "PM", + "dial_code": "+508" + }, + { + "name": "Saint Vincent and the Grenadines", + "flag": "🇻🇨", + "code": "VC", + "dial_code": "+1784" + }, + { + "name": "Samoa", + "flag": "🇼🇸", + "code": "WS", + "dial_code": "+685" + }, + { + "name": "San Marino", + "flag": "🇸🇲", + "code": "SM", + "dial_code": "+378" + }, + { + "name": "Sao Tome and Principe", + "flag": "🇸🇹", + "code": "ST", + "dial_code": "+239" + }, + { + "name": "Saudi Arabia", + "flag": "🇸🇦", + "code": "SA", + "dial_code": "+966" + }, + { + "name": "Senegal", + "flag": "🇸🇳", + "code": "SN", + "dial_code": "+221" + }, + { + "name": "Serbia", + "flag": "🇷🇸", + "code": "RS", + "dial_code": "+381" + }, + { + "name": "Seychelles", + "flag": "🇸🇨", + "code": "SC", + "dial_code": "+248" + }, + { + "name": "Sierra Leone", + "flag": "🇸🇱", + "code": "SL", + "dial_code": "+232" + }, + { + "name": "Singapore", + "flag": "🇸🇬", + "code": "SG", + "dial_code": "+65" + }, + { + "name": "Slovakia", + "flag": "🇸🇰", + "code": "SK", + "dial_code": "+421" + }, + { + "name": "Slovenia", + "flag": "🇸🇮", + "code": "SI", + "dial_code": "+386" + }, + { + "name": "Solomon Islands", + "flag": "🇸🇧", + "code": "SB", + "dial_code": "+677" + }, + { + "name": "Somalia", + "flag": "🇸🇴", + "code": "SO", + "dial_code": "+252" + }, + { + "name": "South Africa", + "flag": "🇿🇦", + "code": "ZA", + "dial_code": "+27" + }, + { + "name": "South Sudan", + "flag": "🇸🇸", + "code": "SS", + "dial_code": "+211" + }, + { + "name": "South Georgia and the South Sandwich Islands", + "flag": "🇬🇸", + "code": "GS", + "dial_code": "+500" + }, + { + "name": "Spain", + "flag": "🇪🇸", + "code": "ES", + "dial_code": "+34" + }, + { + "name": "Sri Lanka", + "flag": "🇱🇰", + "code": "LK", + "dial_code": "+94" + }, + { + "name": "Sudan", + "flag": "🇸🇩", + "code": "SD", + "dial_code": "+249" + }, + { + "name": "Suriname", + "flag": "🇸🇷", + "code": "SR", + "dial_code": "+597" + }, + { + "name": "Svalbard and Jan Mayen", + "flag": "🇸🇯", + "code": "SJ", + "dial_code": "+47" + }, + { + "name": "Swaziland", + "flag": "🇸🇿", + "code": "SZ", + "dial_code": "+268" + }, + { + "name": "Sweden", + "flag": "🇸🇪", + "code": "SE", + "dial_code": "+46" + }, + { + "name": "Switzerland", + "flag": "🇨🇭", + "code": "CH", + "dial_code": "+41" + }, + { + "name": "Syrian Arab Republic", + "flag": "🇸🇾", + "code": "SY", + "dial_code": "+963" + }, + { + "name": "Taiwan", + "flag": "🇹🇼", + "code": "TW", + "dial_code": "+886" + }, + { + "name": "Tajikistan", + "flag": "🇹🇯", + "code": "TJ", + "dial_code": "+992" + }, + { + "name": "Tanzania, United Republic of Tanzania", + "flag": "🇹🇿", + "code": "TZ", + "dial_code": "+255" + }, + { + "name": "Thailand", + "flag": "🇹🇭", + "code": "TH", + "dial_code": "+66" + }, + { + "name": "Timor-Leste", + "flag": "🇹🇱", + "code": "TL", + "dial_code": "+670" + }, + { + "name": "Togo", + "flag": "🇹🇬", + "code": "TG", + "dial_code": "+228" + }, + { + "name": "Tokelau", + "flag": "🇹🇰", + "code": "TK", + "dial_code": "+690" + }, + { + "name": "Tonga", + "flag": "🇹🇴", + "code": "TO", + "dial_code": "+676" + }, + { + "name": "Trinidad and Tobago", + "flag": "🇹🇹", + "code": "TT", + "dial_code": "+1868" + }, + { + "name": "Tunisia", + "flag": "🇹🇳", + "code": "TN", + "dial_code": "+216" + }, + { + "name": "Turkey", + "flag": "🇹🇷", + "code": "TR", + "dial_code": "+90" + }, + { + "name": "Turkmenistan", + "flag": "🇹🇲", + "code": "TM", + "dial_code": "+993" + }, + { + "name": "Turks and Caicos Islands", + "flag": "🇹🇨", + "code": "TC", + "dial_code": "+1649" + }, + { + "name": "Tuvalu", + "flag": "🇹🇻", + "code": "TV", + "dial_code": "+688" + }, + { + "name": "Uganda", + "flag": "🇺🇬", + "code": "UG", + "dial_code": "+256" + }, + { + "name": "Ukraine", + "flag": "🇺🇦", + "code": "UA", + "dial_code": "+380" + }, + { + "name": "United Arab Emirates", + "flag": "🇦🇪", + "code": "AE", + "dial_code": "+971" + }, + { + "name": "United Kingdom", + "flag": "🇬🇧", + "code": "GB", + "dial_code": "+44" + }, + { + "name": "United States", + "flag": "🇺🇸", + "code": "US", + "dial_code": "+1" + }, + { + "name": "Uruguay", + "flag": "🇺🇾", + "code": "UY", + "dial_code": "+598" + }, + { + "name": "Uzbekistan", + "flag": "🇺🇿", + "code": "UZ", + "dial_code": "+998" + }, + { + "name": "Vanuatu", + "flag": "🇻🇺", + "code": "VU", + "dial_code": "+678" + }, + { + "name": "Venezuela, Bolivarian Republic of Venezuela", + "flag": "🇻🇪", + "code": "VE", + "dial_code": "+58" + }, + { + "name": "Vietnam", + "flag": "🇻🇳", + "code": "VN", + "dial_code": "+84" + }, + { + "name": "Virgin Islands, British", + "flag": "🇻🇬", + "code": "VG", + "dial_code": "+1284" + }, + { + "name": "Virgin Islands, U.S.", + "flag": "🇻🇮", + "code": "VI", + "dial_code": "+1340" + }, + { + "name": "Wallis and Futuna", + "flag": "🇼🇫", + "code": "WF", + "dial_code": "+681" + }, + { + "name": "Yemen", + "flag": "🇾🇪", + "code": "YE", + "dial_code": "+967" + }, + { + "name": "Zambia", + "flag": "🇿🇲", + "code": "ZM", + "dial_code": "+260" + }, + { + "name": "Zimbabwe", + "flag": "🇿🇼", + "code": "ZW", + "dial_code": "+263" + } +] \ No newline at end of file diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/fonts/MaterialIcons-Regular.otf b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/fonts/MaterialIcons-Regular.otf new file mode 100644 index 00000000..8c992661 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/fonts/MaterialIcons-Regular.otf differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/isolate_snapshot_data b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/isolate_snapshot_data new file mode 100644 index 00000000..54b1f4a0 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/isolate_snapshot_data differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/kernel_blob.bin b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/kernel_blob.bin index b8aa48cf..bf661755 100644 Binary files a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/kernel_blob.bin and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/kernel_blob.bin differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf new file mode 100644 index 00000000..79ba7ea0 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf differ diff --git a/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/vm_snapshot_data b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/vm_snapshot_data new file mode 100644 index 00000000..24646405 Binary files /dev/null and b/GigyaNss/Flutter/Debug/App.xcframework/ios-arm64_x86_64-simulator/App.framework/flutter_assets/vm_snapshot_data differ diff --git a/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/App.framework/App b/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/App.framework/App index 8bc6ca34..59346761 100755 Binary files a/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/App.framework/App and b/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/App.framework/App differ diff --git a/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/dSYMs/App.framework.dSYM/Contents/Resources/DWARF/App b/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/dSYMs/App.framework.dSYM/Contents/Resources/DWARF/App index e59fc658..0fa5304d 100644 Binary files a/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/dSYMs/App.framework.dSYM/Contents/Resources/DWARF/App and b/GigyaNss/Flutter/Release/App.xcframework/ios-arm64/dSYMs/App.framework.dSYM/Contents/Resources/DWARF/App differ diff --git a/GigyaNss/GigyaNss/Actions/SetAccountAction.swift b/GigyaNss/GigyaNss/Actions/SetAccountAction.swift index a38cb304..63476caf 100644 --- a/GigyaNss/GigyaNss/Actions/SetAccountAction.swift +++ b/GigyaNss/GigyaNss/Actions/SetAccountAction.swift @@ -69,9 +69,7 @@ class SetAccountAction: Action { resolver.setAccount(params: params!) } else { - var data: [String: Any] = [:]; - data["data"] = params?["data"] - data["profile"] = params?["profile"] + var data: [String: Any] = params ?? [:] businessApi?.callSetAccount(dataType: T.self, params: data, completion: self.apiClosure) if publishPhotoOnSubmit { diff --git a/GigyaNssRelease.podspec b/GigyaNssRelease.podspec index bde21185..a132ccae 100644 --- a/GigyaNssRelease.podspec +++ b/GigyaNssRelease.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'GigyaNssRelease' - spec.version = '1.9.3' + spec.version = '1.9.4' spec.license = 'Apache 2.0' spec.homepage = 'https://developers.gigya.com/display/GD/Native+Screen-Sets' spec.author = 'Gigya SAP' @@ -9,7 +9,7 @@ Pod::Spec.new do |spec| authentication methods from the standard login flow DESC - spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.3' } + spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.4' } spec.module_name = 'GigyaNss' spec.swift_version = '5.2' diff --git a/GigyaSwift.xcodeproj/project.pbxproj b/GigyaSwift.xcodeproj/project.pbxproj index 05585951..32e877e1 100644 --- a/GigyaSwift.xcodeproj/project.pbxproj +++ b/GigyaSwift.xcodeproj/project.pbxproj @@ -491,6 +491,9 @@ E77F7A292406B12B00FF90FB /* GigyaNssEngine.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = GigyaNssEngine.framework; sourceTree = BUILT_PRODUCTS_DIR; }; E77F7A2E2407EC7900FF90FB /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; E7818A6B222445F8008117AB /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; }; + E788BD1C2B906EA800C8F772 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Main.strings; sourceTree = ""; }; + E788BD1D2B906EA800C8F772 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/LaunchScreen.strings; sourceTree = ""; }; + E788BD1E2B906EA900C8F772 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/Lang.strings; sourceTree = ""; }; E794998D292A1EC900D3FB98 /* App.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = App.xcframework; path = GigyaNss/Flutter/Release/App.xcframework; sourceTree = ""; }; E7A532952AE7AF43005F3662 /* GigyaTfa.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = GigyaTfa.framework; sourceTree = BUILT_PRODUCTS_DIR; }; E7A532982AE7B039005F3662 /* GigyaTfa.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = GigyaTfa.xcframework; path = GigyaTfa/GigyaTfa.xcframework; sourceTree = ""; }; @@ -1724,6 +1727,7 @@ en, Base, es, + he, ); mainGroup = E7BE36692224219200A108D9; productRefGroup = E7BE36742224219200A108D9 /* Products */; @@ -2182,6 +2186,7 @@ children = ( E72FEC54234F19850028EF28 /* en */, E72FEC56234F19A50028EF28 /* es */, + E788BD1E2B906EA900C8F772 /* he */, ); name = Lang.strings; sourceTree = ""; @@ -2190,6 +2195,7 @@ isa = PBXVariantGroup; children = ( E7BE36A12224260400A108D9 /* Base */, + E788BD1C2B906EA800C8F772 /* he */, ); name = Main.storyboard; sourceTree = ""; @@ -2198,6 +2204,7 @@ isa = PBXVariantGroup; children = ( E7BE36A62224260500A108D9 /* Base */, + E788BD1D2B906EA800C8F772 /* he */, ); name = LaunchScreen.storyboard; sourceTree = ""; @@ -2594,7 +2601,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.5.9; + MARKETING_VERSION = 1.5.10; MODULEMAP_FILE = ""; MODULEMAP_PRIVATE_FILE = ""; ONLY_ACTIVE_ARCH = NO; @@ -2655,7 +2662,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.5.9; + MARKETING_VERSION = 1.5.10; MODULEMAP_FILE = ""; MODULEMAP_PRIVATE_FILE = ""; ONLY_ACTIVE_ARCH = NO; diff --git a/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate b/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate index b6d55cf9..ecaf8e07 100644 Binary files a/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate and b/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index bc520804..dc8b0168 100644 --- a/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/GigyaSwift.xcworkspace/xcuserdata/i507698.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -584,8 +584,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "744" - endingLineNumber = "744" + startingLineNumber = "746" + endingLineNumber = "746" landmarkName = "loginWithProviders(_:)" landmarkType = "7"> @@ -1248,8 +1248,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "607" - endingLineNumber = "607" + startingLineNumber = "609" + endingLineNumber = "609" landmarkName = "checkLoginState()" landmarkType = "7"> @@ -1296,8 +1296,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "609" - endingLineNumber = "609" + startingLineNumber = "611" + endingLineNumber = "611" landmarkName = "checkLoginState()" landmarkType = "7"> @@ -1312,8 +1312,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "608" - endingLineNumber = "608" + startingLineNumber = "610" + endingLineNumber = "610" landmarkName = "checkLoginState()" landmarkType = "7"> @@ -2415,8 +2415,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "442" - endingLineNumber = "442" + startingLineNumber = "444" + endingLineNumber = "444" landmarkName = "register(_:)" landmarkType = "7"> @@ -2543,8 +2543,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "687" - endingLineNumber = "687" + startingLineNumber = "690" + endingLineNumber = "690" landmarkName = "loginWithProviders(_:)" landmarkType = "7"> @@ -2559,8 +2559,8 @@ filePath = "TestApp/UI/ViewController.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "698" - endingLineNumber = "698" + startingLineNumber = "701" + endingLineNumber = "701" landmarkName = "loginWithProviders(_:)" landmarkType = "7"> @@ -2581,5 +2581,148 @@ landmarkType = "7"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GigyaSwift/Gigya/GigyaCore.swift b/GigyaSwift/Gigya/GigyaCore.swift index 122745b9..ebc1caa0 100644 --- a/GigyaSwift/Gigya/GigyaCore.swift +++ b/GigyaSwift/Gigya/GigyaCore.swift @@ -552,7 +552,7 @@ public final class GigyaCore: GigyaInstanceProtocol { - Parameter active True to activate. */ public func setErrorReporting(to active: Bool) { - container.resolve(ReportingService.self)?.disabled = !active + container.resolve(ReportingService.self)?.enable = active } /** @@ -564,6 +564,10 @@ public final class GigyaCore: GigyaInstanceProtocol { public func setAccountConfig(with account: GigyaAccountConfig) { config.accountConfig = account + + if let cacheTime = account.cacheTime { + businessApiService.accountService.accountCacheTime = cacheTime + } } } diff --git a/GigyaSwift/Global/PushNotifications/PushNotificationsService.swift b/GigyaSwift/Global/PushNotifications/PushNotificationsService.swift index 6cd851e1..94a6bf99 100644 --- a/GigyaSwift/Global/PushNotifications/PushNotificationsService.swift +++ b/GigyaSwift/Global/PushNotifications/PushNotificationsService.swift @@ -170,13 +170,19 @@ class PushNotificationsService: PushNotificationsServiceExternalProtocol, PushNo return } - let model = ApiRequestModel(method: GigyaDefinitions.API.pushUpdateDevice, params: ["platform": "ios", "os": generalUtils.iosVersion(), "man": "apple", "pushToken": pushToken]) + let model = ApiRequestModel(method: GigyaDefinitions.API.pushUpdateDevice, params: ["deviceInfo": ["platform": "ios", "os": generalUtils.iosVersion(), "man": "apple", "pushToken": pushToken]]) apiService.send(model: model, responseType: GigyaDictionary.self) { [weak persistenceService] result in switch result { case .success: persistenceService?.setPushKey(to: pushToken) case .failure(let error): + switch error { + case .gigyaError(data: let data): + print(data) + default: + break + } GigyaLogger.log(with: self, message: error.localizedDescription) } } diff --git a/GigyaSwift/Global/ReportingService.swift b/GigyaSwift/Global/ReportingService.swift index 653dfaf9..a840ae97 100644 --- a/GigyaSwift/Global/ReportingService.swift +++ b/GigyaSwift/Global/ReportingService.swift @@ -12,7 +12,7 @@ public final class ReportingService { private let networkProvider: NetworkProvider private let config: GigyaConfig - var disabled = true + var enable = false enum Priority: String { case info = "INFO" @@ -25,7 +25,7 @@ public final class ReportingService { } func sendErrorReport(msg: String, details: [String: Any], priority: Priority = .info) { - guard disabled else { + guard enable else { return } diff --git a/GigyaSwift/Models/Config/InternalConfig.swift b/GigyaSwift/Models/Config/InternalConfig.swift index 59b2d910..c426d8ce 100644 --- a/GigyaSwift/Models/Config/InternalConfig.swift +++ b/GigyaSwift/Models/Config/InternalConfig.swift @@ -10,7 +10,7 @@ import Foundation struct InternalConfig { struct General { - internal static let version = "\(GigyaDefinitions.versionPrefix ?? "")ios_swift_1.5.9" + internal static let version = "\(GigyaDefinitions.versionPrefix ?? "")ios_swift_1.5.10" internal static let sdkDomain = "com.gigya.GigyaSDK" internal static let defaultLang = "en" } diff --git a/GigyaSwift/Network/Models/ApiResultModel.swift b/GigyaSwift/Network/Models/ApiResultModel.swift index 9da82764..545f749c 100644 --- a/GigyaSwift/Network/Models/ApiResultModel.swift +++ b/GigyaSwift/Network/Models/ApiResultModel.swift @@ -20,6 +20,15 @@ public struct GigyaResponseModel: Codable { internal var requestData: Data? = nil + public init(statusCode: ApiStatusCode, errorCode: Int, callId: String, errorMessage: String?, sessionInfo: SessionInfoModel?, requestData: Data? = nil) { + self.statusCode = statusCode + self.errorCode = errorCode + self.callId = callId + self.errorMessage = errorMessage + self.sessionInfo = sessionInfo + self.requestData = requestData + } + public func toDictionary() -> [String: Any] { return DecodeEncodeUtils.dataToDictionary(data: self.requestData) } diff --git a/GigyaSwift/Storage/KeychainStorage.swift b/GigyaSwift/Storage/KeychainStorage.swift index a80c1ac5..f5362a00 100644 --- a/GigyaSwift/Storage/KeychainStorage.swift +++ b/GigyaSwift/Storage/KeychainStorage.swift @@ -88,7 +88,7 @@ internal class KeychainStorageFactory { var session: T? if #available(iOS 11.0, *) { do { - session = try NSKeyedUnarchiver.unarchivedObject(ofClass: T.self, from: data) + session = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [T.self, NSString.self], from: data) as? T } catch (let error) { GigyaLogger.log(with: self, message: "[getSession]: failed unarchiveObject session - \(error.localizedDescription) ") }