Skip to content

check if keystore file exists before trying to sign

olie.xdev requested to merge oliexdev/feeel:master into master

just set up the development environment to test your app but if you don't have the keystore it won't compile. For fixing this I added a small check if the keystore file exist before trying to sign.

Btw another error is shown when trying to compile:

lib/screens/workout_editor.dart:299:64: Error: The argument type 'DragItem<WorkoutExercise>' can't be assigned to the parameter type 'WorkoutExercise'.
 - 'DragItem' is from 'package:drag_list/src/drag_list.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/drag_list-1.0.8/lib/src/drag_list.dart').
 - 'WorkoutExercise' is from 'package:feeel/models/workout_exercise.dart' ('lib/models/workout_exercise.dart').
                                              workoutExercise: item,

As I am new in dart and flutter, I can't fix it at the moment but when I comment it out, it works. 👍

Merge request reports