Closed kendrick-inkind closed 5 months ago
@kendrick-inkind Thanks, can you do the PR?
@kendrick-inkind Thanks, can you do the PR?
Sure! Note, the manual linking instructions are only on the NPM package README and not the Github readme. I wasn't able to find the NPM Package README in this repo. If you can point me to it, I'll gladly make the update.
I'll also note that the link above isn't the latest version of the NPM Package README (which is here), but it is the version of the NPM Package Readme found when one Googles react-native-localize
@kendrick-inkind What you are pointing to is indeed the v1.3.0
README…this has been fixed a long time ago (and it was actually the correct namespace at this time), and as it's a previous release it's correct. This is just a google issue, it just need to recrawl.
Understandable. We're using React Native Localize 3.1.0, but on RN 0.64.3, and auto-linking didn't work on Android, which is what led me to your older manual linking instructions.
It seems probable linking just works fine in the latest versions of RN, since there aren't any other reports of this and since you no longer include manual linking instructions in the newer READMEs. Thanks for looking it over, and for the great software!
Before submitting a new issue
Bug summary
On the
npm package page
for this module, manual linking instructions for Android are given, but they are slightly wrong:Under the step:
3. Add the import and link the package in MainApplication.java:
,the import should be:
import com.zoontek.rnlocalize.RNLocalizePackage;
instead of
import com.reactcommunity.rnlocalize.RNLocalizePackage;
Library version
3.1.0
Environment info
Steps to reproduce
error: package com.reactcommunity.rnlocalize does not exist
Reproducible sample code