react-native-text-size
react-native-text-size copied to clipboard
Can we implement auto-linking please? Here are the instructions:
It should be as easy as this:
Add a new file called react-native.config.js
in that file, add:
module.exports = {
dependency: {
platforms: {
android: {
packageImportPath:
"import com.github.amarcruz.rntextsize.RNTextSizePackage;",
packageInstance: "new RNTextSizePackage()",
},
ios: {
podspecPath: "ios/RNTextSize.podspec",
},
},
},
};
And I'm pretty sure that's it. I can create a PR if you give me access! Thanks!
Actually, you'll need to move your pod spec file to the root, and then change the podSpecPath to RNTextSize.podspec. I did it and created my own repo and it worked
@benjaminharringtonrose can you provide an example how ?
Yeah, go take a look at the repo on my GitHub!!!
@benjaminharringtonrose can you explain how to install it in a native expo/react project?