Skip to content
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

Open
wants to merge 2 commits into
base: new_development
Choose a base branch
from

Conversation

roshani-prajapati-us
Copy link

No description provided.

- 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 "),
Copy link

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}"
Copy link

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){
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants