Where to keep Redlaser License file in Titanium Alloy Project? - titanium

In Titanium Classic project scanning worked fine when license file was kept in Resources folder along with app.js file.
Not sure where to keep the license file in Titanium Alloy project - gives me error that "SDK Not Authorized" You are over the scan limit for this device and application.
I have a paid license from RedLaser.

According to this thread you have to put it in your app/assets folder since the assets replaced the classic resources folder.

Related

How to fix optimazition error publish in play store

my apk is 1.4MB but error is "This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices."
how to fix this error
It's only a warning, not an error.
For an app that small I wouldn't worry.
It's not something that's made its way into the Ionic ecosystem yet but I heard that if you open up your project in Android Studio and then do the build through there you can create an app bundle.
I'm not totally sure that its fully tested for Ionic so you might have issues with this, but Android have published a full guide:
https://developer.android.com/guide/app-bundle#get_started
This is what they say:
Download Android Studio 3.2 or higher—it's the easiest way
to add dynamic feature modules and build app bundles.
Add support for Dynamic Delivery
by including a base module, organizing code and resources for configuration
APKs, and, optionally, adding dynamic feature modules.
Build an Android App Bundle using Android Studio.
If you're not using the IDE, you can instead build an app bundle from the
command line.
Test your Android App Bundle by using it to generate APKs that
you deploy to a device.
Enroll into app signing by Google Play.
Otherwise, you can't upload your app bundle to the Play Console.
Publish your app bundle to Google Play.

Xcode's default projects folder missing

I'm quite new in iOS development and right now I'm watching tutorial videos. In them I see that every time a new project is created, Xcode suggests /home/Xcode as root destination where you can store your project. This folder has even a special icon with the Xcode logo on it.
On my Mac this folder is missing. I still can save the project elsewhere but even after re-installing Xcode that folder is missing.
Any idea how I can fix that?
The /home/Xcode folder is not the default location to store Xcode projects. The home folder is hidden by default on macOS so I suggest choosing a different folder to store your projects.
It does not matter where you save your Xcode projects. Save them wherever you want on your computer.

IPA file size on IBM Mobile First

I'm using MobileFirst PLatform 7.1 for mobile app development and I generate an Android and iOS enviroment with it. I generate the apk and ipa file for distribution and the apk file its a 10 MB file but the ipa file is over 43 MB... a huge difference!!. Both applications have the same common files and they don't have any native specific code. How can I reduce the ipa file?
Thanks
Some things to look at:
Remove any unused code and libraries from the project
Remove unusedgenerated images from the native\resources folder or run them through pngcrush and alike
If using 3rd party libraries check if there are minified versions of them
Enable concatenation and minification: http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/devref/c_optimizing_apps_build_settings.html

Worklight: Do the legal documents gets installed with the app?

Environment: Worklight 6.1.0.2
We have created a hybrid app using Worklight 6.1 for android, iOS and windows8 platform. We would like to include license documents and notices files as part of the app. To do this, we would like to know, if including these documents inside the "legal" folder (under application name folder) and installing the app on the device, will also install these license documents on the device ?
I browse through the android app, but didn't found these documents as part of the build.
The legal folder is not part of the generated Android project because it has no value there. The native project will become your .apk - the file that you distribute to your end-users. The license is of no use there; your customer cannot see it.

Retrieve ipa file from worklight proejct

Does anyone know how to get the .ipa file for my iPhone environment within IBM worklight?
Inside your iPad environment -> native folder you can find the xCode project file named YourAppNameipad.xcodeproj. Open the file will open the xCode with your current project.
Else right Click your app folder RunAs -> Run As xCode project will open the project in xCode.
After that you can follow the normal procedure to build the IPA.
Select iOS device
Product -> Archive
Please read the training materials IBM provides.
Worklight Studio, the Eclipse plug-in, does not generate the .ipa file for you.
Only Xcode does that, and so in order to "get" the .ipa, you need to actually Build the Xcode project that Worklight Studio generates, in Xcode.
Read here how to get the .ipa file from Xcode.