Skip to content

Conversation

salmatarzi
Copy link
Contributor

No description provided.

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

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

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

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.

@DevHossamHassan DevHossamHassan merged commit fb4cedb into master Jul 24, 2017
@DevHossamHassan DevHossamHassan deleted the SALMAT/testRelease branch July 25, 2017 08:30
ahmed1hisham pushed a commit that referenced this pull request Sep 13, 2021
* 📝 Updates Changelog

* Update CHANGELOG.md
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.

2 participants