Closed jhionan closed 3 months ago
I fixed this! I fork the repo and fix the name of spec to match the library name also adding exclude arm64
this didnt worked on previewed because I was using the original repo, and as I dont have push access it was resulting in not clean repo error.
@jhionan Hi
Have you fully integrated the SDK into iOS in Flutter?
Yes! But it was only possible creating a fork of your iOS sdk, because we had to update the pod
On 4 Mar 2021, at 12:49, Alex Bogdanov notifications@github.com wrote:
@jhionan https://github.com/jhionan Hi
Have you fully integrated the SDK into iOS in Flutter?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ondato/ondato-sdk-ios/issues/1#issuecomment-790715409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJAO2XP5RZ22LDRZ6ZZ3DDDTB6TXPANCNFSM4YD2BD7Q.
We can see with Jason if we can publish this plugin, this would help you with any other flutter project But would be nice if the android part could be configured like iOS (with code, not xml) because iOS is doing on run time, and android only on compile time, so it make the life of flutter developer a lot harder, because it need to setup everything twice. Our plugin api set all the iOS on dart side.
https://github.com/jhionan/ondato-sdk-ios
On 4 Mar 2021, at 12:49, Alex Bogdanov notifications@github.com wrote:
@jhionan https://github.com/jhionan Hi
Have you fully integrated the SDK into iOS in Flutter?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ondato/ondato-sdk-ios/issues/1#issuecomment-790715409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJAO2XP5RZ22LDRZ6ZZ3DDDTB6TXPANCNFSM4YD2BD7Q.
@jhionan
I was able to connect the SDK to Android, but there are problems with iOS. Didn't you have this error when launching the SDK on iOS:
The operation couldn’t be completed. (OndatoSDK.OndatoServiceError error 2.)
?
No.
I can see with my team with we can open the plugin for community =)
@jhionan
Thank you very much. Can you show a part of the code in which you run the iOS SDK?
My example:
let token = (arguments["token"] as! String).trimmingCharacters(in: .whitespacesAndNewlines)
OndatoService.shared.initialize(accessToken: token)
let configuration: OndatoServiceConfiguration = OndatoService.shared.configuration configuration.mode = OndatoEnvironment.live
OndatoService.shared.flowDelegate = OndatoListener() OndatoLocalizeHelper.language = OndatoSupportedLanguage.EN
let sdk = OndatoService.shared.instantiateOndatoViewController() sdk.modalPresentationStyle = .fullScreen
self?.navigationController?.present(sdk, animated: false, completion: nil)
Sorry, i'm trying to make it open source, but right now its not
A separate project for flutter now exists https://github.com/ondato/ondato-sdk-flutter
Hello I'm trying to create a flutter plugin (We are developing a flutter app and we will use your services..), but I need to create a pod with ondato dependency, and the only pod published is OndatoSDK 1.0.5
Meanwhile I tried to create a private pod , but it don't validate
the lint error is
An unexpected version directory `en.lproj` was encountered for the `/Users/rian/.cocoapods/repos/OndatoSDKiOS/FaceTecSDK.framework` Pod in the `FaceTecSDK.framework` repository.
I add the exclude platform arm64 on podspec also rename to match the name inside, after this the only error output is:
The `OndatoSDKiOS.podspec` specification does not validate.
a detailed log bellow: