Visual Studio Cordova Hybrid App "release" vs "distribution" - android

Please explain the difference between Release vs Distribution modes when running a hybrid app project from Visual Studio for Apache CordovaIn Visual Studio, in Solution Configurations drop-down you have:
Debug
Release
Distribution
From what I can see "release" pushes the app to USB-connected Android device, while "distribution" only compiles it, and then just displays empty command prompt screen for adb.exe (but does not push the app to device).
I would like to test "distribution" version.
Thanks!

It's only for iOS apps. Before being submitted to the App Store, iOS apps have to be signed by a Distribution Certificate. The distribution configuration uses this Distribution Certificate instead of a Development Certificate which is used for debug and release builds.
The distribution configuration seems to have been removed in the recently released RC, with release taking its place. The documentation which previously stated:
When building a Debug or Release configuration, the Visual Studio remote agent selects the first valid iOS Development signing identity installed on your Mac.
When building a Distribution configuration, the Visual Studio remote agent selects the first valid iOS Distribution signing identity installed on your Mac.
now says:
When building a Debug configuration, by default the Visual Studio remote agent selects the first valid iOS Development signing identity installed on your Mac.
When building a Release configuration, by default the Visual Studio remote agent selects the first valid iOS Distribution signing identity installed on your Mac.

Related

How to build an ipa without any intention of releasing to the app store?

I want to create an app which can be put on a website for users to be downloaded and not to be downloaded from the play store or from the app store, like the way Dream11 does it. I have created an app that works perfectly in the debug mode in both iOS and Android and the flutter build for Android works amazing too. The 'flutter build ipa' command is causing an error-
No valid code signing certificates were found
You can connect to your Apple Developer account by signing in with your Apple ID
in Xcode and create an iOS Development Certificate as well as a Provisioning
Profile for your project by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
5- Trust your newly created Development Certificate on your iOS device
via Settings > General > Device Management > [your new certificate] > Trust
For more information, please visit:
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/
AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
Or run on an iOS simulator without code signing
Now I am confused whether or not to do these as I won't be releasing on the app store. Is this compulsory to do irrespective of whether the app goes to the app store or not or is there a workaround to create a build version of the app for the iOS?
You really have four options.
Release through App Store
Apple has a rather new program for releasing private apps through the App Store
Release through test flight
Create an enterprise developer account
All of these options require a developer account.

Firebase App Distribution is not installing the app on Android 12

We use Firebase App Distribution to deliver staging builds. Android devices below Android 12 can install it successfully, but on Android 12 it says "Installation failed".
Important notes:
No other versions of this app installed on this device
If we manually download debug or release APKs for this app they also install
We upload APKs to Firebase
Is there any Android 12 limitation I miss? Is there something new in Firebase what prevents us from installing APKs from it on Android 12?
I found the problem, if you target Android 11+ and distribute you have to use app signer to sign your APKs. In Bitrise CI you need to add use_apk_signer: true field to sign_apk step.

Can share ipa file to install locally on iphone

I used flutter for both Android and IOS. I want to share both applications to the customer for testing purpose. I can export apk file by the following command for Android. I am using Android Studio.
flutter build android --profile
I can get the apk file. I just share this apk to the client. He can install it on his phone without any requirement.
After I run this command in flutter
flutter build ios --profile
It showed the error message
No valid code signing certificates were found
You can connect to your Apple Developer account by signing in with your Apple ID
in Xcode and create an iOS Development Certificate as well as a Provisioning
Profile for your project by:
1- Open the Flutter project's Xcode target with
open ios/Runner.xcworkspace
2- Select the 'Runner' project in the navigator then the 'Runner' target
in the project settings
3- In the 'General' tab, make sure a 'Development Team' is selected.
You may need to:
- Log in with your Apple ID in Xcode first
- Ensure you have a valid unique Bundle ID
- Register your device with your Apple Developer Account
- Let Xcode automatically provision a profile for your app
4- Build or run your project again
5- Trust your newly created Development Certificate on your iOS device
via Settings > General > Device Management > [your new certificate] > Trus
I have no idea how to export to get ipa file. I am new to ios development. And also I am not sure that the customer can install this ipa file on his iphone without using xcode.
Any idea for exporting customer review applications(ipa, apk) in ios development? And which softwares need for customer?
It is possible to install ipa on device over the air, without connecting to Xcode.
You can use services like Crashlytics Beta http://try.crashlytics.com/beta/ or Apple's TestFlight. First one in much easier IMO and does not require a build to be reviewed by Apple review team.
However your build must be signed at least with Ad-Hoc distribution profile and this profile must include target device's unique device identifier UDID.
This answer could be helpful for you https://stackoverflow.com/a/47053605/979822
But before that you should fix everything that was written in your error message.

Android Cordova App not Installed issue

we currently have an app that has been in usage for several years now. We are currently facing an issue with deployment where users are failing to install updates to the existing app.
this is the error they see when trying to install on an android device:
As far as I can tell the app is being correctly signed with the proper certificate. I even checked the previous release apk with the new release/update apk. both the certificate seem to match perfectly.
the only thing I can recall being changed is I have switched to a newer PC, my old PC is gone and now I am working with visual studio 2017 instead of the previous visual studio 2015 to build the release apk files from cordova still using the same keystore file to sign the release apk. would switching computers impact the signing of the apk even though the keystore file is still the same?

Generate Provisioning Certificate for iOS on windows 7

I already have created a phonegap application. Now, i want to build Phonegap iOS on windows 7.
I have written code in Android in Eclipse on windows 7.
I already have generated .APK, .XAP, .IPK. Now, i want to create .IPA(iOS application).
Is it compulsory to have a MAC OS to just generate Phonegap iOS application?
Is it compulsory to have apple developer account to just generate Phonegap iOS application?
Can i generate a certificate and a provisioning profile for iOS on Windows 7?
Yes it is compulsory to have a Developer account, Because without developer you cannot generate Provisioning profile.
I don't know about the certificate, but you can generate Provisioning profile on Windows 7 because it is not dependent upon OS, it needs the certificate.
It is not necessary to have MAC OS for generating Phone iOS Application
Since PhoneGap Build uses Apple's standard development process to build applications, you will need to sign up for their developer program to build iOS applications on PhoneGap Build. You will also need a Mac to configure your certificate and provisioning profile.
Compulsory to have a mac and developer account to install software on an iphone or ipad.
You don't need a mac to develop the application

Categories

Resources