Skip to content

Conversation

@sanasz91mdev
Copy link

No description provided.

Copy link

@aubykhan aubykhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanasz9109 Looks okay overall, just make these few changes.

try {
var hostPlatform = Platform.isAndroid ? "android" : "ios";
var forceVersion = await getApplicationConfiguration(
hostPlatform + '_force_update_version');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of doing this key creation here, I'd suggest to move it to remote config helper file and just pass the hostPlatform value to the new helper function.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but that will make the function quite specific right? .. i thought of creating a function that will intake any key and will out the value against it ..

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.

4 participants