react-native-rename icon indicating copy to clipboard operation
react-native-rename copied to clipboard

Renaming the app with a <space> between the name doesn't work!

Open husseinaltaaf opened this issue 3 years ago • 5 comments

For e.g: if i rename my app as "Tech Tutorial" It changes my app's name to "Tech"!

husseinaltaaf avatar Jun 13 '21 09:06 husseinaltaaf

What's the exact command you ran? Keep in mind that the command line uses spaces as argument separators, so you have to put "Tech Tutorial" in quotes like this: react-native-rename "Tech Tutorial"

mariansam avatar Aug 21 '21 17:08 mariansam

What's the exact command you ran? Keep in mind that the command line uses spaces as argument separators, so you have to put "Tech Tutorial" in quotes like this: react-native-rename "Tech Tutorial"

I think its obvious he used the quotes. he even did it in the title.

I also have this issue. Im using npm react-native-rename "something title" it gets changed to something.

Arcalise08 avatar Aug 23 '21 20:08 Arcalise08

I had the exact same problem. My solution was to downgrade to "react-native-rename": "2.8.2",

MasterRedStorm avatar Sep 15 '21 08:09 MasterRedStorm

im pretty sure you arent supposed/allowed to have spaces in project names. just like you dont have spaces in folder names in your project.

Adnan-Bacic avatar Nov 29 '21 19:11 Adnan-Bacic

~~Thanks for pinging, I'm on react-native-rename 2.9.0 and react-native-rename 'Some Three Words' worked for me a few days ago. I'm using Expo and I had a problem with the URI scheme, so I created a new one using npx uri-scheme add somethreewords and everything works now.~~

edit: it didn't work, the android/app/src/main/res/values/strings.xml wasn't changed at all.

mariansam avatar Nov 29 '21 19:11 mariansam

Closing, please check v3.

junedomingo avatar Dec 26 '22 09:12 junedomingo