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

odd import statements #45

Open
bsutton opened this issue Oct 15, 2020 · 1 comment
Open

odd import statements #45

bsutton opened this issue Oct 15, 2020 · 1 comment

Comments

@bsutton
Copy link

bsutton commented Oct 15, 2020

I'm trying to generate code for the IOS AVFoundation.h headers.

I've managed to get it to generate code (with lots of errors and warnings as it does the generation).

However I'm seeing some odd dart import statements in the generated code:

// You can uncomment this line when this package is ready
// import 'package:fondation/foundation.dart'

So two questions:
When am I meant to uncomment this lines? When is the 'package ready'?
Do I just need to uncomment these lines after the code gen.

  1. the import has a package statement. Does this mean that I need to generate a separate package for each set of headers in ios?
@yulingtianxia
Copy link
Member

  1. When codegen can generate foundation without throw errors, we can uncomment this line.
    Our ultimate goal is generating all basic frameworks in iOS and Android. This is when "package ready".

  2. Yes. You need generated code recursively. If you have a plan much more better, please tell me.

@yulingtianxia yulingtianxia transferred this issue from dart-native/dart_native Oct 19, 2020
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