How to upload apk to crashlytics using Curl? - crashlytics

I'm trying to upload an APK to crashlytics with fastlane but i have some error that i cant resolve.
Also the official solution (doc) it is not good for me because the apk is already builded.
Is there a solution using curl?

Mike from Fabric here. We don't have a solution for uploading the APK via curl. However, you can upload built APKs through the Android Studio plugin. From command line, we only support using Fastlane or uploads from the build flow in Ant, Maven or Gradle.

Related

Is there any way to testing React Native project using HMS Toolkit cloud debugging?

I found huawei have HMS Toolkit Cloud Debugging for testing, is it support for React Native? or is there any way to install our apps into the cloud device?
You cannot run the react-native run-android command to directly perform debugging. You need to run the gradlew assembleDebug command to package the full APK and upload the APK to Cloud Debugging for testing.
You could directly access the CloudDebugging menu on the AppGallery Connect, as shown in the following figure:
Then select an appropriate test machine and upload the APK file for test.
According to the R&D team, we didn't have a specific adaptation for React Native. But if your app works fine on your test machine, it should be fine on Cloud Debugging as well.
To install app on Cloud Debugging, please download the HMS Toolkit plug-in in Android Studio firstly, then start Cloud Debugging and click Run app in the IDE to start the installation.
Pls kindly refer to the following link for more info:
How to install HMS Toolkit plug-in?
What is Cloud Debugging?

APK does not upload to Fabric Crashlytics

I have a react-native application, whose android apk I want to upload to Fabric Crashlytics and used this guide https://medium.com/komenco/beta-testing-your-react-native-android-application-with-crashlytics-483c7e66a423 . In the terminal, I run:
./gradlew assembleRelease crashlyticsUploadDistributionRelease
And everything seems to go well, I get:
:app:crashlyticsUploadDistributionRelease
Uploading /.../theapp/android/app/build/outputs/apk/app-release.apk to Crashlytics...
BUILD SUCCESSFUL
However, the app never gets uploaded to Fabric Crashlytics. What could be the problem?
Thank you

How to generate signed apk and deploy to google play store

i am using create-react-native-app
there is no android / iOS folder
how to generate signed apk and deploye to google play store
Here are the instructions for create-react-native-app app deployment.
https://github.com/react-community/create-react-native-app/blob/master/react-native-scripts/template/README.md#sharing-and-deployment
If you want to build and deploy your app yourself, you'll need to eject from CRNA and use Xcode and Android Studio.
This is usually as simple as running npm run eject in your project, which will walk you through the process. Make sure to install react-native-cli and follow the native code getting started guide for React Native.
Generating key
https://facebook.github.io/react-native/docs/signed-apk-android.html
If you don't see android/ios folders in your directory. Then type in your terminal react-native upgrade then react-native link

How to sign flutter's apps

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

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