How to run Apk inside android app - apk

I'm having an issue.
Can I make an android project and call an apk file inside this project and run it?
Thanks you and hope for receiving all your help.

Related

Is there a recommended way to distribute iOS apps to testers prior to publishing on the app store?

I need to distribute my apps to testers prior to submitting them to the store(s). Nativescript builds an apk file that is easily distributed to Android testers. Is TestFlight the recommended way to distribute iOS apps? And should I use the xcode project file to build the app in Xcode in order to submit it to TestFlight. That method seems counter intuitive.
Yes, ideally you would use TestFlight. It's also a perfect way for you to test your distribution build/signing etc since you would upload the exact same build that will end up on the App Store. In fact, if your testing goes well with your users, you can submit the same build that you've already uploaded for TestFlight to the reviewers for the App Store, you don't even need to upload a new build.
As #Dave Wood mentioned, yes, TestFlight should be the way to go forward as you do not need to re-build the app to submit for review to Apple.
Answer to your next question should I use the xcode project file to build the app in Xcode -
No
You can use the below commands to build and publish app to Apple store.
From the root folder of your app
tns build ios --release --for-device --bundle <Your Provision Profile>
this will show the path where it has created the .ipa file, then
tns publish ios --ipa <.ipa file>
this will ask your Apple ID and App Specific password and will process the actual App based on your appid mentioned in your package.json.
You can change the app version and App name in info.plist inside App Resources->ios folder.
Thanks. I realized this was the answer after I posted the question. I'm new to NativeScript, but not to iOS development. It occurred to me that once the app is uploaded to App Store Connect, I still control the activities of either posting or setting up TestFlight. Thank you.

tns build android 《app-debug.apk》package too big

my project code size only 2M ,but by command: [tns build android ] create 《app-debug.apk》 size 78M.
nativescript-vue project
NaticeScript adds node_modules dependencies in build and that's the reason for increased size of android and ios app.If you want smaller size you can opt for native android/ios app.
Use release version of APK and not the debug one.
Try a clean build, sometimes the node_modules folder is copied as it's by mistake (not exactly sure why / when it happens), a clean build mostly resolves the issue.

xcode library file's header not found inside react native plugin

I'm developing a ios app with use of react native npm plugin and pod files
I have installed pod package using "pod 'IBMMobileFirstPlatformFoundationJSONStore'" and also installed plugin and manually configure the project to the application
My problem is installed ios application of the plugin requires IBMMobileFirstPlatformFoundationJSONStore as the header
I have looked into several suggestions related to the topic but could resolve it yet
Please help
Thanks in advance
I could find a solution
I have added "use_frameworks!" on top of the plugin's pod file and it worked fine

Cordova fetch plugins in mac

I'm newby with Cordova and with mac. I have a next issue: I need to fetch plugins to my project from fetch.json.
I'm doing next thing: cordova prepare and next cordova platform add ios
but it doesn't copy plugins to folder /plugins. Don't know why?
Thanks in advance.
You might want to take a look at this question and its answer: What is the purpose of fetch.json file inside cordova plugins folder?. It sounds like it isn't possible to restore plugins using that file, as it (only) checks locally? Honestly, this is the first time I'd heard of the file. :-/
For building from the command line I normally use the command:
cordova plugin add <plugin>
for each plugin you are using. Usually this isn't a huge list, and the commands only need to be invoked once. After that, it's just a cordova build to compile.
If you're using PhoneGap Build, you define the plugins in the config.xml file. There's quite a bit of information on how to use the service and the parts of the config.xml file up on the site: http://docs.build.phonegap.com/en_US/configuring_basics.md.html#The%20Basics.
I found the issue it was because of I have installed Node 5, with Node 4 it works ok.

CordovaLib missing with Phonegap2.0.0

I am learning phonegap thru online tutorials.
I was creating facebook integration dummy app in xcode using phonegap by following step by step tutorial given at https://github.com/davejohnson/phonegap-plugin-facebook-connect
I was able to setup everything but one step where I was asked to add CordovaLib class path to XCODE was not working for me, I tried searching CordovaLib with downloaded and extracted phonegap(2.0.0) but couldn't find same.
At last, after spending good amount of time on google I could get CordovaLib from GITHUB and able to compile my project and make it work.
My question is, if CordovaLib is must for phonegap integration with Xcode, why is it not shipped with phonegap download ?
What is the best way to get CordovaLib in future for newer phonegap versions ?
There is no need anymore.
Note: Starting with Cordova 2.2, the project will have a copy of CordovaLib within it instead of having a dependency on the copy of CordovaLib from your Cordova installation.
guide_getting-started_ios

Resources