Codename One: Can't install iOs App anymore - codenameone

I made some fixes for my App and wanted to try it out today on my iPhone and now I can't install it on the device anymore. I'm getting the error "Unable to Download App" on the phone.
I haven't changed anything on my Apple Developer Account and yesterday everything was working fine. Is this a known bug and does anybody know how to fix this? My iPhone is of course registered and I also did the "iOS Certificate Wizard" and built it again but it didn't work either.
Edit: So I was able to install the app after doing the complete Certificate Wizard again with also overwriting everything (which I had not done before), but now I made another build and I can't install it again! Do I really have to do the Wizard thing every time I send a build now?

Are you trying to install a distribution build on top of a development build, or vice-versa? If so, uninstall the existing app first.

Related

The previous version of the electron app is loaded after updating the app using auto-updater

I have integrated the electron app with the auto-updater and published the electron app as well. I am able to receive the newer version pop-up and able to upgrade my electron app but when I relaunch the installed electron app the app shows the previous version information and asks to install the newer version again. Any suggestions?
I bumped across your question because I was having the same issue. I was using auto-updater with Quasar framework. Maybe this could help someone else.
Since nsis was configured by default to do the oneClick installations (with predefined rules), it was always installing my application somewhere in users/AppData folders, which I didn't even notice.
The thing I was running over and over again (after successfully auto-updating application) was actually installing the previous version all over again.
To circumvent this issue, I changed nsis configuration to allow users to select their own installation path.
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true
}
After this, app shortcut was appearing on desktop, which was always running the latest version.

White Screen - App content failed to load after launch released iOS app

I installed my application play store seamlessly. However, when I tried to install the App Store, the application was rejected and I received the following message.
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app when reviewed on iPad running iOS 12.3.1 on Wi-Fi.
When we launched the app, app displayed a splash screen and no further action occurred in the app during the review.
Next Steps
To resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review.
If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.
For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.
Resources
For information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide.
For a networking overview, please review About Networking.
Please see attached screenshots for details.
When I write flutter doctor there is no problem.
I tried the application on the real device again no problem.
But the app store made such a turn. Does anyone know the reason or are having the same problem?
i faced same problem with android version of flutter app, when testers install app from google play, the white screen appear, but when test direct apk on device the app not installed appear.
That problem happen after i update android sdk tool to version 30
after long search, i solved the problem with step:
in dependences in android\build.gradle downgrade gradle from 4.0.0 to 3.5.0 as the default value new flutter app determined
in app\build.gradle downgrade compileSdkVersion to 29 and so targetSdkVersion to 29 too
run the flutter clean command
Resolved
https://www.flutterforum.org/d/97-white-screen-app-content-failed-to-load-after-launch-released-ios-app
Thank you!
It took me three days. But solved ...
Make sure you followed the developer guidelines carefully here at this link:
https://flutter.dev/docs/deployment/ios#create-a-build-archive
Steps to generate ipa:
Execute the following command flutter build ios --release
To ensure that Xcode refreshes the release mode configuration, close and re-open your Xcode workspace. For Xcode 8.3 and later, this step is not required. Finally Select Product > Archive to produce a build archive.
Hope this helps :)

Create React Native App run on device

Okay So I'm extremely confused on how this all works...
I want to run my app on my device and not through Expo.
So I'm reading the Facebook documentation and told me to open up my ios directory and open up the xcode file. While I proceeded to look inside my directory of course I don't find my ios folder...lol (Don't understand why they don't tell us the step to actual create the folder..)
So I'm google and googling and find that I needed to eject. But in that documentation it told me it was permanent... Doesn't sound safe at all.... So I did it anyway and it created my ios folder.
I opened it up on xCode and deploy it to my phone.. Why is that the app looks completely different from the one it ran on expo locally...
If you look at the picture below, they're two different app..lol. Like come on what sort of trickery do I need to go through just to have my app run on my device without going through expo.
Why is it showing 2 different apps?
Future wise, Should I only eject when the app is completely done? Since I can't run it on expo anymore.. hence the permanent changes.. How would I test native device features? This honestly makes no sense.
How to start working on react-native ios without expo.
brew install node
npm install -g react-native-cli
react-native init AwesomeProject
open ios/AwsomeProject.xcodeproj in xcode
You can also install cocoa pod and use AwsomeProject.xcworkspace.
In account add ur ID Apple Id and download certificate manually
In general menu add your apple id and press run
For next time open terminal
cd project
react-native run-ios --device "iPhone"
Note: Write your device instead of iPhone. Hope I made things clear for beginners please feel free to correct me if i am wrong.

can not install app on react native

I am trying to install an app with react native cli but get the
ERROR: JAVA_HOME is not set and no 'java' command could be found in
your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation. Could not install the app on the
device, read the error above for details. Make sure you have an
Android emulator running or a device connected and have set up your
Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
error...
And frankly this is sooo ofrustrating... Never had an issue with ionic or cordova nor android studio but infortunally, I need some native functions for my app...
Here is a background, at first the app was installing, I even was able to run hot reload on it then out of nowhere, without any change on the computer, I get this message whenever I try :react-native run-android".... I followed exactly what's on facebook github page but got this error... So i tried running a simple app on android studio and it worked...
Can someone have solution and also why this is happening out of nowhere?
Oh, I forgot right before I got this error, for some reason, I had to reinstall npm because nodeJs was not recognizing the npm command anymore
Ps : I even uninstall then reinstall android studio, uninstalled react-native-cli and reinstalling it, uninstalled react-native-create-project, reinstalled npm.
Check like this maybe this is the issue I guess:
1.Open the App that u have created using create-react-native-app or react-native init appName in android studio
It will be something like: appName>android>local properties(SDK location)
2.If u use windows pc/laptop then go to my computer right click for properties>advanced system settings click on that and find the environmental variables
and check if they are matching
Well, I got tired of it since none of the solutions on the web worked, I just wiped out my computer, reinstalled windows, got rid of all the non needed programs, reinstalled android SDK, java, react and... Still got this error... So I set JAVA_HOME (thanks youtube) and now it is working.

Unable to download appengine sdk inside Android Studio

As per this tutorial, I tried adding app engine module in my android application on android studio.
But when the project sync starts up, it starts downloading app-engine sdk which is taking infinite time to download
Also after a very long time, sync failed and unable to download errors come up
Error:Could not resolve all dependencies for configuration ':backend:appengineSdk'.
Could not download artifact 'appengine-java-sdk.zip (com.google.appengine:appengine-java-sdk:1.9.14)'
Failed to download resource 'https://jcenter.bintray.com/com/google/appengine/appengine-java-sdk/1.9.14/appengine-java-sdk-1.9.14.zip'.
Connection reset
I tried downloading it externally too, using the same link, but there too it was taking an infinite time.
Can someone please enlighten me what the problem might be and what all steps should I take to solve the problem?
P.S. I have a decent internet connection. I tried downloading some other material and there was no problem with it.
Yeah it's a pretty big download. There are instructions here : How to manually install App Engine in Android Studio?
on how to link to a downloaded appengine sdk.

Resources