-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/enhancement #20
base: new_development
Are you sure you want to change the base?
Conversation
- return model class instead of Map<String dynamic> and also create class which directly parce the data in to the package.
IOS version available check Android update available check. make dialog radius rounded (custom ui) can change padding of custom ui show Dialog Platform specifically
|
||
Padding( | ||
padding: const EdgeInsets.only(top: 20), | ||
child: Text("${response.appName } : need an update "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make string constants file & move all strings into it
padding: const EdgeInsets.symmetric(vertical: 15), | ||
child: Text(Platform.isAndroid ? | ||
|
||
"To use this app, download the latest version:${response.updateData?.androidBuildNumber}":"To use this app, download the latest version:${response.updateData?.iosBuildNumber}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make variable for "updateData" & check whether it is nullable or not
_alertDialog(widget); | ||
} | ||
if(Platform.isAndroid){ | ||
if(appUpdateResponse.updateData?.isAndroidForcedUpdate == true || appUpdateResponse.updateData?.isAndroidUpdate == true){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make variable for "updateData" & check whether it is nullable or not
No description provided.