electron app load faster in development then in production - performance

When I creat an Electron app, it takes around 6 seconds to load with npm start but 30 if I run the exe installed from the installer
I used Electron forge to create the app and electron builder to build the exe, all my dependencies are the latest versions and the app the just what you get when you create an app with electron forge i didn't modify anything in it

Related

Automatically building and deploying React Native app using Jenkins?

Packaging my little react native app for Android so that it runs e.g. with Expo on an online App testing service like Appetize or Runthatapp is easy. Up to now I relied on online services to do the building for me, but that is no sustainable solution, that's why I want to do it on my own now.
I understand that for compiling my react native app for iOS I have to somehow run Xcode (on a virtual box). I am able use Android Studio to build my APK files using the GUI, but how do I do that automatically?
I am looking for a way how to automatize that process using Jenkins (either under Ubuntu or under Windows). How would I approach that? My architectural idea looks as follows:
Step 1. Jenkins pulls source code and additional artwork (i.e. logos) from GIT
Step 2. Building and packaging.
2.1 Jenkins initiates the Android Studio and starts building the .apk-file, ideally via command line.
2.2 Jenkins initiates Xcode with some fancy long command line, and out comes
a nice .ipa file.
Step 3. Jenkins takes both files and archives them
Step 4. Deployment
4.1 Jenkins automatically deploys to Google Play Store using their API
4.2 Jenkins automatically deploys to Apple App Store using their API
4.3 Jenkins automatically deploys it to the Amazon App Store.
I am struggling with step 2 and 4, but the priority is the automatic building (step 2). Any help is appreciated, even links to tutorials. What I am after is an explanation on who to steer Android Studio and Xcode by command line.
Resources
How to run apk file online?
What is the (file) format of iOS/iPhone apps?
Deploy to Google Play Store via API
Automatic app deployment to Amazon store
https://stackoverflow.com/questions/57107024/is-there-any-official-way-or-api-to-get-app-reviews-for-ios-apps
Deploy/Publish Android app made with React Native
Unable to build APK file on Jenkins (react native)

Xcode 10 breaks Ionic Cordova build

I have an Ionic 3 App using Enterprise Distribution for a client and of course Apple likes to change settings on their new iOS. Everything was working fine on iOS 11 and when a client-user upgraded to iOS 12 their app completely broke and could not re-download.
Steps I've Tried:
Check iOS Provisioning Profile Status
Rebuild App in Xcode 10.0
Archive and create new manifest and .ipa file for app
Rebuild app in npm using ionic cordova build ios --prod
Update any plugins that we're needing updates using npm outdated
Commit and Push to Production branch using ionic Deploy
Everything I've tried allowed me to build the app successfully and I was able to build the app locally on my device via Xcode, but as soon as I put the .ipa file on our server the app will not successfully download.
I have a feeling it may be a particular setting in Xcode, but I'm stuck right now. Any help would be appreciated.
Edit: After the update of Xcode 10, the app would no longer build successfully after running ionic cordova build ios
So the issue was never apparent, but I somehow fixed the issue by removing the other branch from git and Ionic deploy and kept the Production branch active on the latest commit. I also created the certificate profile on Ionic Deploy using the Enterprise Developer Certificate and Provisioning Profile and packaged my app. I used the .ipa file from Deploy and threw it on the server and it worked like a charm.
EDIT: I finally found documentation on why the app breaks. When Xcode 10 was released, Apache Cordova did not and still does not have support for iOS if the user has Xcode 10 downloaded to build in the terminal. Link provided here: Xcode 10 Support.
When building the app using ionic cordova build ios or ionic cordova run ios
You must run it like this: ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0". More information in the link provided.
EDIT: More possible answers can be found here. In some cases, users are experiencing similar yet different issues.

Windows Cordova / Ionic app white screen after release build

I developed a Cordova/ionic Universal Windows app. Everything works perfectly in debug mode in the simulator and a real device. After i make a release build (Store -> Create app packages...) and start the release build or start a new debug session the app starts a "about:blank" page after the splash screen has disappeared. I have to run "ionic build windows" again to see my app. I hope anyone is familiar with this problem, its driving me crazy!
Cordova CLI: 6.0.0
Ionic version: 1.2.4
Ionic CLI version: 1.7.14
Ionic app lib version: 0.7.0

How can I build an app in Appcelerator that can be deployed via the Mac App Store

Having successfully built an Appcelerator generated application for iOS, I am thinking about deploying the same application on the Mac App Store.
Is this possible?
If so what do I have to do test test and what do I have to do to deploy?
No you can't. Appcelerator is a mobile app platform. It doesn't support Mac desktop applications.
Only if you've create a webapp you could use a different wrapper (like Electron) to create standalone wrappers so you could upload it to the Mac-Store. But that's not related to Appcelerator.

Creating NativeScript app with Teleriks AppBuilder

I am writing hello world on nativeScript at AppBuilder platform. I created new project from template. It works perfetct with companion app (Run->Build->NativeScript) but i can't:
1) run it on iOS or android emulator
2) build app package (Run->Build->App Package)
Thanks much
From the browser you can't run on native emulators, but you can deploy to the NativeScript companion app for Android/iOS, and you can also build app packages for Android/iOS.
To build iOS app packages you need to register for the iOS developer program and register your provisioning profiles and certificates with AppBuilder before you can create app packages. If you have any other questions related to this let me know.

Resources