-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
coreIssues related to the Amplify Core PluginIssues related to the Amplify Core Pluginfeature-requestA request for a new feature or an enhancement to an existing API or category.A request for a new feature or an enhancement to an existing API or category.
Description
Because amplify_flutter
is using Platform.isAndroid
.
This is thrown: Unsupported operation: Platform._operatingSystem
Line: call $Platform.isAndroid
(func $new AmplifyClassImpl (;33855;) (result (ref $AmplifyClassImpl))
block $label1
block $label0
call $Platform.isAndroid implicit getter
br_if $label0
call $Platform.isIOS implicit getter
i32.eqz
br_if $label1
end $label0
call $AmplifyHybridImpl
return
end $label1
call $AmplifyClassImpl.protected
return
)
The pub.dev
suggests removing dart:io
import from:
package:amplify_flutter/amplify_flutter.dart
package:amplify_flutter/src/amplify_impl.dart
Metadata
Metadata
Assignees
Labels
coreIssues related to the Amplify Core PluginIssues related to the Amplify Core Pluginfeature-requestA request for a new feature or an enhancement to an existing API or category.A request for a new feature or an enhancement to an existing API or category.