-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update troubleshooting.md #16
base: master
Are you sure you want to change the base?
Conversation
I kept having crashes which were resolved after explicitly setting googlePlayServicesVersion.
|
||
### The problem | ||
|
||
When there are different versions of Google Play Services, crashes can occur like |
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.
@goblinhorde , can you please take a final check?
|
||
### Likely cause | ||
|
||
You are using other libraries that use `googlePlayServicesVersion` at something other than "12.0.1" |
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.
This plugin take "googlePlayServiceVersion" (no 's' after 'Service'), do you have other dependencies are actually overridden by 'googlePlayServicesVersion' ? How about you try to override the 'googlePlayServiceVersion'(no 's') to a newer version and see if that works?
I'm asking to do this because I don't think we should introduce another build variable that this plug doesn't depend on.
Alternatively, can you just list your dependencies that conflict with reader sdk, and provide a solution based on that?
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.
+1 to providing specific details about the environment in which the conflict occurs so it's easier for folks to tell if the possible solution applies to their environment as well.
Thank you for contributing to this project, this PR is great! |
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 resolve my comments.
|
||
### Likely cause | ||
|
||
You are using other libraries that use `googlePlayServicesVersion` at something other than "12.0.1" |
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.
+1 to providing specific details about the environment in which the conflict occurs so it's easier for folks to tell if the possible solution applies to their environment as well.
|
||
### The problem | ||
|
||
When there are different versions of Google Play Services, crashes can occur like |
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.
The problem description is frustratingly nondescript. Can we be more specific about when the crash occurs and why having different versions of the Play Service causes a conflict? Also, "like" implies there are other possible errors that could occur? If that's true, we should provide a list of known errors that occur with this issue. If that's not true, rephrase to make the problem description definitive. For example: "When there are different versions of Google Play Services on the same device, , and Android will crash with an error."
@@ -19,3 +19,18 @@ You recently downloaded or updated XCode. | |||
2. Choose `Legacy Build System` | |||
3. Remove `node_modules/react-native/third-party` and | |||
`node_modules/react-native/third-party-podspecs` | |||
|
|||
## I get Android crashes when using the Reader SDK |
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.
This should be more specific about when the crash occurs (when the crash is triggered, it crashes with a specific error, etc.) as there are likely other reasons why Android may crash when building with Reader SDK and we want folks to be able to distinguish which use case matches the problem they are seeing.
|
I kept having crashes which were resolved after explicitly setting googlePlayServicesVersion.