Closed JesseMonteiro closed 1 year ago
from discord:
okay, i spent a good 12 hours trying to fix the ios initialize problem.
still stuck. but here's what i tried and what i found (will also paste this into the gh issue)
i fixed all the cocopods stuff so we're now using the release/debug configs ricardo set up in vue
i modified the example app in sdk-capacitor to include an initialize button and confirmed the issue is somewhere in the ios <> flutter <> dart layer
i rewrote the sdk ios async logic to see if the issue was in there (i did it both with futures, mimicking the android design, and with swift asyncs to see if there was just something obvious we missed). neither worked.
i tried both release and debug binaries
i tried re-adding the frameworks from the channel project
i thought i spotted duplicate requests being sent, but it was just debugger garbage
i'm gonna get to work tomorrow on the other outstanding issues and will revist the issue monday. we need to setup a project where we can see the dart side of the equation. i need to speak with ricardo on how to do this, since idk how the framework build stuff really works.
I was going to move this issue to publish-sdk-channel, like mentioned in #280 but I will keep it here, since the comments from @mike-audi needs further analysis and changes in this repo.
The publish-sdk-channel is broken. A fix from it was done last week and the correct binaries were used in the first versions of the cocoa pods but these changes were lost. I was able to recover the xcframeworks and added them in #280, for a quick patch to confirm the issue is not in iOS layer.
We need to review:
Follow ups:
Reason
I can't use an new user
Description
After create a new user and click in start throw an error "tiki sdk is not initialized", the onComplete() on initialize after create a new user is not called and the TS still waiting the answer.
Success Criteria
Additional Information
No response