Open aratton opened 3 years ago
-Added upload function to file button:
Error: MissingPluginException(No implementation found for method image on channel miguelruivo.flutter.plugins.filepicker)
Tried:
-Adding file permission for andriod manifest
-Ran flutter clean and flutter run
IT WORKED
Error: UploadFile Err: RangeError (index): Invalid value: Valid value range is empty: 0
Tried:
-Adding "import 'package:android_metadata/android_metadata.dart';" in file and in pubspec
Error: The plugin MusicByMasses
doesn't have a main class defined in C:\Users\Sorbarikor Inene\StudioProjects\MBM-March\android\src\main\java\com\mianjiajia\android_metadata\AndroidMetadataPlugin.java or C:\Users\Sorbarikor Inene\StudioProjects\MBM-March\android\src\main\kotlin\com\mianjiajia\android_metadata\AndroidMetadataPlugin.kt. This is likely to due to an incorrect androidPackage: com.mianjiajia.android_metadata
or mainClass
entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the androidPackage
entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.
-Added "android_metadata: ^0.2.1" underdependecies
Result: Same error
-Remove one of the two apis listed in amplifyconfig.dart
Result: Same error
-Runing "amplify update api", console is saying api is not syncing explaining the storage and datastore issues
Result: Same error
4:20pm-11:22pm (7h 2m)
Profile pic locations(storage implemenation) (lib/fig2flutterapp/Feed_Dashboard/generated/GeneratedProfileminsangchoiWidget.dart) (lib/fig2flutterapp/Profile/generated/GeneratedProfileminsangchoiWidget1.dart)
Will try to follow documentation by Adam Cyber to implement file upload(images) and download and see if changes are reflected in s3 storage in admin ui console. Researched and documented findings. Currently receiving issue that bucket name doesn't match. Will look for resolutions found in https://github.com/aws-amplify/amplify-cli/issues/1739. 1h