AW5th / MBM-March

3/5/2021
0 stars 0 forks source link

User Storage Impletementation #34

Open sinene opened 3 years ago

sinene commented 3 years ago

Create functional upload page that allows user to upload media(music)

sinene commented 3 years ago

5/10/2021

-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

    Renamed: 
    GeneratedDashboardZachWidget5 -> Select_Song_Competition
    generateddashboardzachwidget4 -> View_Song_3
    generatedprofileotherusercontentwidget -> OtherUserProfile