How to sign flutter's apps - intellij-idea

I'm starting to work with flutter and I would like to know how to sign apps to publish in stores. I work with MacOS and IntelliJ IDEA.

I have already solved it. The technical issue can be solved by writing the command inside the project´s directory:
$ flutter build apk --release --keystore /Users/user/Desktop/Sign/my-key-release.keystore --keystore-password=p#$$w0rd --keystore-key-alias=name-alias

Related

Impossible to update expo project inside Expo Go after switching to EAS Build

I have the need to run a project from Expo Go without being connected to PC. We are developing an app that require GPS and needs to be tested in open field.
Before EAS became the standard to create projects i used
expo build:android
ad this created not only the apk, but uploaded the project to my account and i was able to start it from Expo Go projects section just like the app was installed on phisical device. That worked also fo iOS and was a great testing feature.
After i moved to EAS Build
eas build -p android --profile preview --clear-cache
my project inside Expo Go does not update anymore and its stucked at sdk 44 even if now i'm working (and creating builds) with sdk 46.
I went through the official documentation many times but i don't get how to make the app start from Expo Go (project sction) as i did before. Maybe i'm missing some configuration.
Thank you all for any kind reply.
Have a good day.
EDIT
I found the solution to this problem and now my builds are working and uploading to Expo Go.
Check out this information: https://github.com/expo/fyi/blob/main/eas-build-archive.md
Basically EAS Updates will not bundle anything inside your .gitignore, in my case it needed specific config files. Did a quick test by taking them off the .gitignore and now it's working. Will move to GitHub SECRETS in the future.
Hope that helps.

React Native, build for iOS

I have an app made with React Native that is already working on for Android.
I'm working on Debian 10.
For Android I build my app-release.aab file with this command:
bash android/gradlew --project-dir android --project-prop MYAPP_UPLOAD_STORE_FILE=my-key.keystore --project-prop MYAPP_UPLOAD_KEY_ALIAS=my-key --project-prop MYAPP_UPLOAD_STORE_PASSWORD=mypassword --project-prop MYAPP_UPLOAD_KEY_PASSWORD=mypassword clean bundleRelease
I've been creating this bundle for like a year with no problems, but now I have a task that is "now we want the iOS version"
What do I need to create this iOS version? I'm pretty lost, I have never created nothing for iOS, I just have this React Native app that works ok on Android.
I've been reading some mediums, youtube videos, and some questions here in Stackoverflow but they talk about that it's possible to create the app for both Android and iOS but I can't find a source of clear information about what I need for.
Do I need a Mac?
How should I create the bundle for iOS?
First, if you want to publish to the iOS app store, you need to buy a paid Apple Developer Program, regardless if you have a Mac or not.
Okay, if you have a Mac there is a good amount of documentation: https://reactnative.dev/docs/next/publishing-to-app-store and more. The below is if you do not have a Mac, or do not want to develop on it.
No Mac
You cannot build macOS apps locally without a Mac.
That being said, you could look at CI/CD, for example, Github Actions or Travis CI, as running macOS on them is possible. If you are already pushing your code to Github, I recommend Github Actions. If you do not want to use CI/CD, you can use Expo. With Expo, you can build your app on their servers, and all you need is a paid Apple Developer Program (no Mac).
With vanilla react-native for local development/builds you will need a Mac as Xcode (free) is required for iOS builds. It's propriety software to macOS. You will also need an Apple Developer account to setup development/distribution certificates for deployments.
You can then use Xcode and the iOS certificates/provisions to generate a bundle for iOS.

Android Studio 3.3 Signed APK Option Missing

I'm trying to publish my Ionic 4 app into Play Store through Android Studio and the option to build to a signed APK is missing. I know there are similar questions to mine already asked here, but their answers are directed for previous versions. I have spent many hours searching through websites and I have typed lots of command prompt commands, such as
ionic cordova build android
and
cordova build --release android
I went to build and did the signed APK a few times, and it gave me a small window about "required updates."
I agreed, then it restarted, and after I went back to build and the option was missing! I tried installing and reinstalling Android Studio. I want to be able to create a signed APK and publish my app to Play Store. Where is the missing option? Please help me figure out how to turn on this feature in my Android Studio version 3.3.2.
Thanks to CodeChanger. Run the emulator, then restart the app. The Signed APK option will appear.

Have you ever installed the ScoutMaps-iOS-SDK and ScoutMaps-iOS-SDK Tools via CocoaPods?

Now, I have an issue with integrating SKMaps iOS SDK and Tools.
I did integrate your SDK and Tools using cocoapods, not manually.
But it's not working.
Here's the screenshot of error I got finally.
cocoapods directory tree
x86_64 errors I got from building pod.proj
Is it possible to integrate SKMaps iOS SDK and Tools via cocoapods?
Or, shall I have to integrate them manually from Demo project that I've downloaded?
I did research on Skobbler developer forums, but no related questions/answers.
Dear Ando, I know you are an expert in SKMaps.
Please let me know if you have ever experienced this before.
Hope your kindly support.
Best.
Integration with cocoapods worked fine for me.
Be sure that you opened and are trying to build .xcworkspace file of your project created after you run "pod install".

Upload a prebuilt file to Crashlytics

I am trying to automate our build/release process. I am specifically concerned with the Android app at the moment, but I may also need to extend similar support for our iOs app.
Until now, all uploads to Crashlytics have been triggered with crashlyticsUploadDistributionRelease. However we are now building and testing the apk first, then looking to upload that same pre-built apk to Crashlytics. The new process means we need a way of uploading the apk to Crashlytics directly, without having any dependencies on rebuilding or being within the project's directory.
I can see that I can do this through Android Studio by dragging and dropping the apk. Is there a command line tool or script that I can use to automate something similar from our build machine?
This operation is not currently supported. See my comment above for the response from the Crashlytics team