No logs in firebase Test Lab - react-native

I uploaded an XCTest to firebase test lab with the release scheme. I do not see the apps logs, is this because the scheme is release? The app is created using react-native. So the debug release is not working on test lab because the debug version need the metro "server". Any idea on how to solve this?

Related

Running two Expo Release Channels on the same device?

I have a testing and production release channel, on TestFlight and the App Store, respectively. I want the ability to run both on the same device. Otherwise if there is an issue with my testing release channel me and my beta users are blocked from using the working production channel (as least without constantly downloading and overwriting the TestFlight vs App Store versions)
I tried https://medium.com/#ywongcode/building-multiple-versions-of-a-react-native-app-4361252ddde5, but it seems like most of the configurations were reverted on build, and I wound up with the same bundleIdentifier and therefore I could not download the TestFlight testing version without removing the App Store version.
I think your best bet is to release multiple apps from 1 source code. We ran into this problem as well and ended up releasing separate test (internal testing), beta (external testing) and production apps. Each with their own app logo, app name and expo release channel. As far as I know, there is no way to switch release channel after your app has been built.
Alternatively you could (beta) test your app by pointing your users to https://exp.host/#username/yourApp?release-channel=. This way your testers can test most of your app’s functionally in the Expo Go app.
You can use iOS Build Configurations and Android Build Variants to easily create different apps within one project.

How to update a standalone APP by expo:publish?

I have two standalone APP building by Expo, one for iOS which push to testflight so internal iOS users can test it, another is just an APK let Android users can download and test.
Like Expo document said, I publish code to release-channel 'staging' then build these two APP by release channel staging, all are good and my users can start testing with testflight/APK.
But when I modify code and publish again, no OTA update happen, and in my Expo dashboard, the version code is just the previous one (I've also updated version/android.versionCode/ios.buildNumber in app.json).
What should I do to make the OTA update works? If need any other information please let me know, any suggestion is appreciated!!

How to fix optimazition error publish in play store

my apk is 1.4MB but error is "This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices."
how to fix this error
It's only a warning, not an error.
For an app that small I wouldn't worry.
It's not something that's made its way into the Ionic ecosystem yet but I heard that if you open up your project in Android Studio and then do the build through there you can create an app bundle.
I'm not totally sure that its fully tested for Ionic so you might have issues with this, but Android have published a full guide:
https://developer.android.com/guide/app-bundle#get_started
This is what they say:
Download Android Studio 3.2 or higher—it's the easiest way
to add dynamic feature modules and build app bundles.
Add support for Dynamic Delivery
by including a base module, organizing code and resources for configuration
APKs, and, optionally, adding dynamic feature modules.
Build an Android App Bundle using Android Studio.
If you're not using the IDE, you can instead build an app bundle from the
command line.
Test your Android App Bundle by using it to generate APKs that
you deploy to a device.
Enroll into app signing by Google Play.
Otherwise, you can't upload your app bundle to the Play Console.
Publish your app bundle to Google Play.

Appsflyer integration - out of store apk with React Native

I am trying with Appsflyer out of store apk integration with React Native, I have followed below mentioned steps -
Added app on Appsflyer account with com.reactnativetest package and 9apps_int as channel name.
Integrated react-native-appsflyer SDK in my React Native App, following the react-native-appsflyer documentation.
Have added initSDK with debug mode true and trackEvent Method in the code.
Have debug the app on phone, and I got the success response from initSDK and trackEvent.
Now when I look at the Appsflyer dashboard, it gives me "0" Organic & Non-Organic Install and there is no event also tracked in the dashboard.
I have also done the testing with AppsFlyer Integration Testing App, by whitelisting my device and testing the app again, but same result.
Please help me where I am wrong in this?
Do I need to upload the app on any store except play store/App store before testing, can't I test the app installs in debug mode?
Please help.
Thanks.
Did you also test with URL with media and campaign?
http://app.appsflyer.com/com.greatapp?pid=test&c=campaign_test_1&
I suppose at this stage it's easier to upload the app to the stores, you can always pull it back.

Where's the build_type configured in React Native Sentry

I'm using the Sentry SDK for React Native. In every report I can find a parameter Build Type in the App section. Unfortunately the value is either simulator or test. I'd expect something like release in my released application.
Does anyone know where this parameter is configured for an iOS application?
This parameter will be set automatically from KSCrash
It's app store for apps that have a receipt,
it's test for ad hoc builds, and simulator for yeah you guessed it, simulator builds xD
There is also debug for builds directly on the device.
see:
https://github.com/kstenerud/KSCrash/blob/64229cfa482d135c109dc3c66db7b30d1da855fc/Source/KSCrash/Recording/Monitors/KSCrashMonitor_System.m#L454-L473