Skip to content

[MOB 2943] Flutter API: setValueForStringWithKey #43

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

Merged
merged 14 commits into from
Mar 18, 2019
Merged

Conversation

salmamali
Copy link
Contributor

Summary of Changes

Added APIs and Enums

  • Instabug.setValueForStringWithKey(String value, String key)

  • The enum: IBGCustomTextPlaceHolderKey

  • Added unit test for the added API

  • Added Android unit test for the added enum.

  • Updated Readme

  • Changed flutter module name from InstabugFlutter to Instabug

  • Removed some lint warnings

Copy link
Contributor

@HeshamMegid HeshamMegid left a comment

Choose a reason for hiding this comment

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

@salmamali do we also need to update the pubspec file for the package name change?

*/
public void setValue(String value, String forStringWithKey) {
InstabugCustomTextPlaceHolder.Key key = ArgsRegistry.getDeserializedValue(forStringWithKey, InstabugCustomTextPlaceHolder.Key.class);
placeHolder.set(key, value);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice hack 👏 I like it 😄

Copy link
Contributor Author

@salmamali salmamali left a comment

Choose a reason for hiding this comment

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

@salmamali do we also need to update the pubspec file for the package name change?
@HeshamMegid
The module name change will not affect the name of the package itself. And changing the name of the package now will create a completely new package on pub than the one published now. Should we still make this change?

@salmamali salmamali merged commit d2f679e into master Mar 18, 2019
@alyezz alyezz deleted the feature/MOB-2943 branch May 13, 2019 08:56
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.

3 participants