Automaticly deploy app from jenkins over Wifi - android

I’m doing research on CI integration of android xamrin application. I have found how to build app and make apk using Jenkins but I can’t find a way to send application to devices that are available in company network to automatically update app on those devices. The best option would be to close app, update it and run again o users are not required to do nothing.

Related

How to pull the apk file from appcenter and get it installed on android device instead of manually downloading and storing in local and installing

For automation testing purposes presently I am downloading the latest build from appcenter and storing it in my local. And in the script I am getting it installed on the android device. But this will not workout when I want to run the script through pipeline.
Is there any way to get the apk downloaded directly from appcenter and have it installed into the device.
App Center is a continuous integration, delivery, and testing solution for Android, iOS, macOS, and Windows apps. App Center let developers to ship apps faster and with more confidence by automating the development life cycle.
You can't directly download from app center and install it to android device. But you can upload your application binary package to app center and distribute it. You can distribute releases to individual testers or groups of testers. Azure DevOps uses the App Center Distribute Task for this.
Check Build, test, and deploy Android apps - Azure Pipelines document for more information.
This might be helpful in your case if you would like to upload the build from app center and run your test on real device or simulator:
https://www.browserstack.com/docs/app-automate/appium/integrations/app-center

How to manage app configuration for android on VMWare Airwatch?

I want to managed app configuration for an android application on VMWare Airwatch. I registered with Google Play account for Android EMM Registration before installing .apk. Then I uploaded the .apk internally from Apps&Books > Applications > Native. I am adding assignment to the application I uploaded. When adding an assignment, my android devices appear in the list. But the application does not deploy on my devices.
I can't see my installed app on apps section of hub in phone. But I only encounter this problem when I open the managed access feature. If I do not activate the managed access feature while assigning, the application appears on the hub. Should I do it with EMM Registration G-Suite? Or what could be the reason for this?

Side Loading on IOS Device

I have a Question regarding side loading apps created with React Native (Expo).
I have build my app and uploaded it on the Expo Servers. I managed to side load the App on an Android Device without any problems. Even Over the Air updates run perfectly!
Now my question is if someone has ever managed to side load an app on an IOS Device? Is this even possible?
Its pretty simple on Android but as I know IOS it wont be easy on there because they always make your life extra hard :D
If someone has a guide or some reference on how to side load an Expo app I would really appreciate it.
Edit: I checked out this link: https://docs.expo.io/distribution/building-standalone-apps/ - which says that it can be done with XCode somehow.
As I dont have a Mac and I never want to own a Mac is it possible to do this via a VM maybe?
Thanks ~Faded
It's not hard if you have Xcode. There's a few steps here, but it's not difficult.
Do an archive build in Xcode.
Right click the build in Xcode->Archive and select "Show in Finder"
Right click the .xcarchive in Finder frand "Show Package Contents"
Navigate to Product->Applications. There will be a .app file in there.
Connect your phone to your Mac if you haven't already
Open Xcode->Devices & Simulators
Select your phone
Drag the .app from the Finder onto the "INSTALLED APPS". This will install the app on the device
Sorry, just reread the OP. I guess if you can get the xcarchive or .app from Expo you should be able to side load it using the last few steps
There are few options to load app but they require either macOS system or paid Apple developer account.
You can build in xcode if you have access to native sources, so it wouldn't work with expo managed workflow, but it's possible if you eject. (macOS required)
You can create simulator build expo build:ios -t simulator (it will work only on simulator) (macOS required)
You can create adhoc provisioning profile and use it for build, it will be possible to install that app only on devices registered on your apple account. (requires paid Apple developer account)
You can side-load builds if you have enterprise Apple account

Android Studio: Shared device development

We are developing several apps for Android, and it is annoying when we have to trade testing hardware and get the 'you need to uninstall an app' to install a work in progress version of an app for testing.
Is there a way to share the developer key/signature between several developer machines so we all can over-install each others app versions.

IBM Worklight - Deployment issue from Local Worklight Studio to Device

I have worklight app project on my local, one of my colleague has already deploy app on Worklight Server 6.1, he provided me apk and ipa both, I have installed ipa in my iPhone.
Now when I do some changes in the code for that app and deploy it doesn't give me update in my iPhone, i tried another android device but the update is not coming on that also, This work perfectly when I access my browser console (server console) for that app. but for device its not working
I have worklight studio 6.1, Server 6.1. While deploying i am giving correct URL and context, and on server console updating .wlapp for all environment.
I checked with my colleague and he is doing same step and when he updates something and deploy it works but when I do it doesn't
Please let me know what I am missing here
Thanks
Your explanation has many holes in it, making it difficult to understand your scenario. You need to explain it better and with far more detail about your environment, about your colleague's environment, about how s/he and you are building the project and where to you are deploying it.
Edit your question with the above.
Trying to understand what you wrote... do you mean that:
You have some Worklight project in your local Worklight Development Server (Worklight Studio).
You provide the project to your colleague who does... what with it? builds it? Where? in his OWN Worklight Development Server? and then provides you the .ipa and .apk?
To where does you colleague point the app? to his own server?
If you install an .ipa or .apk that points to server X (your colleague's) and the you build it again, in your own server, and do not point it to server X as well (AND deploy the .wlapp in server X), you will never get the update in the device.
You need to make sure what is the serving Worklight Server for the application.
You need to make sure to build the application and deploy it for that server.
This you set-up in Run As > Build Settings and Deploy Target.
You need to then Run As > Build application, and the deploy the generated .wlapp to server X
Then, the installed app will receive an update.

Categories

Resources