App rename with Titanium - titanium

I am working with titanium for mobile app development. I am using appcelerator for the development. I have created one project and now I am trying to change the display name of the app from ti.xml file. When I am running the app on android phone it is installing two apps on my phone with the same name. And none of the app is opening I am getting unfortunately stopped error when I am trying to open the app.
I am trying to change the name tag from ti.xml file
<name> NewAppName </name>
Help me out if you know any other way to change the display name of app.

First delete all those apps from your device, and tag is used to rename the app, just take care that it should not contain blank spaces in front

Related

Expo: Remove iPad support on non published app

I'm completely new to React Native, Expo and App development in general.
I'm building a React Native app solely for iOS using Expo. I've finally managed to finish a version I'm happy with, tested with users etc. I've now been spending time adding all the required screenshots, text, info etc to App Store Connect in order to submit the app. While doing that, I learned that iPad app screenshots was mandatory, which I found weird.
I later found that I had "supportsTablet: true" in my App.json file, so it makes sense that it's expecting iPad pictures. After changing this and making a new build and submitting that, it's still a requirement.
After Google a bit I can see that it has been impossible to change this:
Removing iPad support from app
iOS App Submission : remove iPad support
iOS App Submission want to remove iPad support
This led me down the road of trying to upload the app as a new submission. I can't get this to work though. According to this documentation:
https://developer.apple.com/library/archive/qa/qa1623/_index.html
I should change bundle identifier and upload again. Changing this in app.json under expo.ios.bundleIdentifier doesn't work though, as I just get an error that I've already uploaded this app previously.
What are the steps I should do to reupload the app as a new submission, so that I can not support iPad?
In order to upload a new version, you must increase the version and the build number. You can find this if you open the project in Xcode under the General tab and the Identity section. In the same tab, you will see the Deployment Info section where you can untick the iPad. Check the picture attached.

React Native application deployment

I have already developed a React native application on my mac book, this is myfirst application. I want to deploy it to iPhone so that I can test it. I don't want to put it on appstore yet. I am not sure how to compile the application and get it ready to put it on iPhone. I tried this web site
https://www.diawi.com/, but not sure which .ipa or a.pk file, I need to upload. I can also try using expo, but not sure how to use it. Can anyone give me step by step instruction on how to upload this application on iPhone.
any help will be greatly appreciated.
For iPhone
For react-native-init you will probably need Apple developer account to test your app on your phone
Since you are using react-native-init, You should checkout this article by Facebook
https://facebook.github.io/react-native/docs/running-on-device
In the second point, it says Register for an Apple developer account if you don't have one yet
For create-react-native-app you need to do following
Download expo client from App store
Scan the QR code expo generate when you run your app using terminal (npm run start in terminal )
Note: Both Laptop and your phone should be on the same network
According to this thread, You can't use expo with react-native-init but alternatively you can create an expo project using create-react-native-app and then copy, paste files from your init project
For Android
For running your App on Android, You can directly generate/build an apk, send it to your device and just open it to see how it works (In Android you don't need a console or developer account to run your app)
Again, Open this link https://facebook.github.io/react-native/docs/running-on-device
And click on Android Tab to see how you can generate an Apk

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

Facing error while updating application on the MobileFirst Application Center

Facing an update error when uploading the ipa file of the iOS
application in order to update it on the Application Center of MFP.
There is a version 1.3 of the iOS application already uploaded on the
Application Center. Then built a new version 1.3.1 of the application
and created the ipa file. Opened the application on the Application
Center and selected the ipa file of the new version 1.3.1 from new file,
and then the following error occurred when Apply button is pressed.
"Cannot update application file: package and/or version are not
identical."
The identification information of the application is not changed.
What is the procedure to update the application with a new
version? Or, is it required to add the application as another application
every time they create a new version of the application?
If the app names/ package name is identical then it can be added as
a new application and since the version is different and same
application, it will be added under the same app with different version
numbers. The screenshots of the steps are attached. Please follow the same
steps to add new version of the same package name.
In essence, you need to upload the app in the main page by add application
and not by going into the app and adding the application as this is only
for making changes in the updated app by rewriting it and not adding a
newer version. So the issue will be solved if you upload the app same way shown in the screenshots.
Click on next and it will autofill the important details and give a description and add other optional functionalities and click submit.
If the package name is same, for example in the above sample all the package name has HybridEventSource in android. This is same in iOS apps too.

How to create webview in apache cordova for all platforms

I want to create an mobile webview application in Apache Cordova using Visual Studio 2013; also, I want to handle features of mobile like camera,back button.
I have gone through the following Apache Cordova documentation:
https://cordova.apache.org/docs/en/4.0.0/guide_hybrid_webviews_index.md.html
According to this link ,3 different webviews need to be created but I want to know whether it is possible to create just one webview which will support Windows phone, Android and iPhone?
The embedded webview you're referring to is really a special case where you want to have a Cordova-based webview inside of a native app. Is that what you really want to do? If you just want to build a normal Cordova app that will run on your three platforms it's easily doable, just follow the instructions here: https://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html