Rename Sencha touch 2 project without rebuilding native packager - sencha-touch-2

I have existing project on Sencha touch 2. Now I want to change application name. As packager I use phonegap. Is there any way to change app name without rebuilding all phonegap project (plugins etc)?

Related

React native project change name for ios

I have renamed my project using the react-native-rename package.
It works fine on Android, however all the files in my ios folder still have refs to my old project name. How can I change them?
Delete the IOS folder, then rebuild it again in with react-native.
I guess that's your easiest solution.

Different react native app icons for alpha, beta, production?

I want to know if it's possible to have "dynamic" app icons for both Android and iOS apps when using React Native.
Ideally, I'd like my dev / beta app to have a different icon so I can tell it apart from the production app, without having two different apps completely.
For iOS you can create multiple targets using xcode. You can do this by duplicating the configuration of your existing app, then adding the new icons to the newly created target.
Here is a guide on how to do that.
https://engineering.circle.com/different-app-icons-for-your-ios-beta-dev-and-release-builds-af4d209cdbfd
Android apps already have two build types, release and debug. To add new icons for the debug (dev) build simply add a new src file called debug containing the respective icons. Here is more info on how to do that.
How to provide different Android app icons for different gradle buildTypes?

How to add an app icon to a react-native project without using any npm packages or 3rd party libraries? Is it even possible to do so?

I am trying to add an app icon to a react-native application and am not able to do so also could hardly find anything about this in the documentation or any other sources which I am able to implement successfully.
Got this one working by using react-native-icon Package but is there Something like a single command to get icons configured into the respective folders when they are created using react-native eject command.
The app icons are controlled from the native side of the project.
You can set them up from Xcode or Android Studio fairly easily.
Perhaps take a look at Xcode 9 - Add an App Store icon and Set icon for Android application
use android asset studio
drag and drop your icon and change filters if you like and then download it.
Unzip it and then replace your res icon folder with this one
indepth tut tutorial

Create Sencha Touch Application on Mac

I am trying to create an application on Senhcha Touch on Mac and Use it on XCode.
I am using Sencha CMD : 6.0.1.76
Sencha Touch Framework: 2.4.1
Cordova On Mac : 5.2.0
When I am generating new app using terminal it is not generating app correctly.
It throws "touch" and "build" folder out of application directory.
I have created a small video for what actually is happening with me, please check this : https://mega.nz/#!a9ZzFADT!SFKa3KAfGqlloOM7L-9OrSHIeWKGTCqCiXKbJnRrG8A
Please suggest on this..
Use Sencha CMD 5 version, It will work.
You probably have the hidden .sencha folder one directory level up from the folder you intend to be the app. try to open the folder containing your app folder in a code editor and view the contents you will probably see it.
sencha -sdk path/to/touch-0.0.0 generate app AppName path/to/appname

How to reduce the size of Sencha Touch Application?

I am building a Sencha Touch application. Even the most basic application is of size 27 MB. Now I want to commit the code online. The touch folder inside the application is of 20 MB which is way too much.
So how can I compress my application and reduce the size of my application?
use sencha cmd to minify to one js file.
from the application's root in the terminal or command prompt, run "sencha app build production" or "sencha app build testing" dependent on if you want the source code minified also.
Make sure you have sencha cmd installed first.
Also make sure each of your classes is requiring only the source components you need. What you're doing right now is deploying every single line of sencha touch, whereas in reality, if you're not using the carousel component, for instance, you don't need this in your deployed app.
Requiring in the classes you need only, and then building the app file in this way, will give you a nice compact single js file that is many many times smaller.
At first, what do you want is not clear. Why you want to compress the application?
If you want to run it on device, you can minify it using sencha cmd. From within your application folder run this command
sencha app build production
and you can see your app size(build version) will reduce drastically. Further you can make apk and/or ipa with this build version only.