Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

directly calling the iOS sdk? #30

Open
bsutton opened this issue Oct 14, 2020 · 2 comments
Open

directly calling the iOS sdk? #30

bsutton opened this issue Oct 14, 2020 · 2 comments
Assignees

Comments

@bsutton
Copy link

bsutton commented Oct 14, 2020

It's it possible to call directly into the iOS native SDK without writing objective C bridging code?

I maintain the sounds package and would like to remove all of the objective C code and replace it with pure dart
.
https://pub.dev/packages/sounds

Is this feasible or will I still need to build a bridging layer to call into the iOS SDK?

The SDK API I'm using also uses call backs, are callbacks support by dart native?

@yulingtianxia
Copy link
Member

Q: It's it possible to call directly into the iOS native SDK without writing objective C bridging code?
A: Yes.

Q: Is this feasible or will I still need to build a bridging layer to call into the iOS SDK?
A: Just write dart code. DartNative will act as a bridging layer.

Q: The SDK API I'm using also uses call backs, are callbacks support by dart native?
A: Sync/Async callback is supported by DartNative(Only in iOS, callback for Android is under developing)

@yulingtianxia yulingtianxia self-assigned this Oct 15, 2020
@bsutton
Copy link
Author

bsutton commented Oct 15, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants