Skip to content

Conversation

@martabacc
Copy link

@martabacc martabacc commented May 16, 2019

Problem
When we also installs another library that uses the same constant (in my project we use react-native-bluetooth-escpos-printer), the listener is also invoked but it throws error which resulted in force close.

Note: Used constant on the library is 1 (for contact) and 2 (for email).

Steps to Reproduce

  • create new rn project
  • install both react-native-contacts-wrapper and another library that uses same constant
  • try import contact
  • app force close

Fix
Change request constants into random numbers so hopefully it doesn't have the same constant with another library.

Edit: I also tidy the readme.

@martabacc martabacc changed the title Change Request Constant into More Random Numbers Change Request Constant into Some Random Numbers May 16, 2019
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.

1 participant