-
Notifications
You must be signed in to change notification settings - Fork 102
Salmat/test release #50
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
Conversation
package.json
Outdated
@@ -23,7 +23,7 @@ | |||
"homepage": "https://github.com/Instabug/instabug-reactnative#readme", | |||
"rnpm": { | |||
"android": { | |||
"packageInstance": "new RNInstabugReactnativePackage(\"YOUR_ANDROID_APPLICATION_TOKEN\",MainApplication.this,\"shake\",\"#1D82DC\")" | |||
"packageInstance": "new RNInstabugReactnativePackage.Builder(\"YOUR_ANDROID_APPLICATION_TOKEN\",MainApplication.this)\n.setInvocationEvent(\"shake\")\n.build()" |
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.
@salmatarzi I'd prefer to add all other options here with their default values.
@@ -26,7 +27,8 @@ | |||
private InstabugColorTheme instabugColorTheme = InstabugColorTheme.InstabugColorThemeLight; | |||
|
|||
public RNInstabugReactnativePackage(String androidApplicationToken, Application androidApplication, | |||
String invocationEventValue, String primaryColor) { | |||
String invocationEventValue, String primaryColor, | |||
InstabugFloatingButtonEdge floatingButtonEdge, int offset) { |
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.
@salmatarzi This will break users' apps, we should deprecate the old constructor and change its implementation to make use of this constructor and not to duplicate the code.
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "instabug-reactnative", | |||
"version": "1.1.6", | |||
"version": "1.1.8", |
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.
Please keep the version number as it was, Since we are going to pump it later on.
…constructor to be left
* 📝 Updates Changelog * Update CHANGELOG.md
No description provided.