lack of @pragma('vm:entry-point') on entry point function `Future<void> init(List? env) async` for polygonid-flutter-wrapper
Closed this issue · 3 comments
yushihang commented
In Flutter module project https://github.com/0xPolygonID/polygonid-flutter-sdk/blob/76dbb9b7ac61cc0b95733c92c670ed5d446273a0/polygonid-flutter-wrapper
If we run flutter build ios-framework with release mode,
flutter build ios-framework --no-debug --no-profile
The init() function will be stripped, can cause a error when run code like this:
flutterEngine.run(
withEntrypoint: "init",
libraryURI: "package:polygonid_flutter_wrapper/main.dart",
initialRoute: nil,
entrypointArgs: nil
)
github-actions commented
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.
github-actions commented
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 10 days.
github-actions commented
This issue was closed because it has been stalled for 10 days with no activity.