Image component flickering when navigating between pages React Native + Expo - image

I'm currently working on an app that has a database that stores the link to the image sources (it's not locally stored) and then in the app, I use that link for the source.
I get a white flickering when navigating and so far, all the solutions I've found are either not compatible with expo (react-native-fast-image) or not compatible with image links (using defaultSource).
Has anyone solved image flickering on Expo with a image not stored locally?

Today, we are pleased to announce that with the arrival of Expo SDK 42, you can now create custom development clients in the cloud using EAS Build, or locally with the new Expo run commands.
You can try it out today:
Create a new project: expo init
Install the packages: expo install react-native-fast-image expo-dev-client
Build the native app:
In the cloud with eas build -p all --profile development (expo build does not support custom builds)
Or locally with expo run:ios and expo run:android (note: see https://expo.fyi/prebuild-cleanup for information on the generated files)
To be clear, react-native-fast-image will not have been added to the Expo Go app that you download from the App Store or Google Play Store.
We still consider this feature to be completed because users can now create a custom client app that includes this library, without needing to write any native code.
We hope you enjoy, and we have big plans to continue improving this workflow going forward!
(с) Brent Vatne https://expo.canny.io/feature-requests/p/react-native-fast-image

Related

I get empty version when I upload react native iOS app to App Store Connect

Hello I tried to upload react native iOS app to App Store. the upload is succefull but when I try to see the build in testFlight it show like this
as you see it show me the version but inside it is empty. then after one minute even the version number disappear and it asks me to upload again. I uploaded it many time but still the same thing
The version disappears if there is another upload with the same version number. Change the version and try to upload the app again.
sorry for the late answer. the issue was the firebase npm packages were not the latest version and it was causing an issue during uploading. So remove all firebase npm packages and install them again after that upload the app.

Unable to install .ipa from apple configurator 2 and xcode

This is my first app to try to distribute, a beginner here. Please help me
I have created an app with Expo React Native and wanted to distribute it to my friends for testing. I generate the .ipa file with the command below.
expo build:ios
Expo request for my credentials and some other details when I run the command above and I leave everything to the expo to handle the documents.
With the generated .ipa file above, I use Apple Configurator 2 to install my app, simply “add”>“apps”>“Choose from my mac”>select .ipa. The app appears in iPhone but darker colour and show "Unable To install ‘app-name’. Please try again later. " when I click it. Tried to install with Xcode as well but fail too.
Then I found someone able to solve this issue by register his iPhone’s UDID to the account. Done it but doesn’t work.
I have also created Ad Hoc Provisioning Profile and run it with the command above. For some reason, errors appear and fail to build my app to generate an .ipa file with it.
What should I do? Feel free to ask for more information. Can somebody help me to publish a standalone app with expo react native? What are the requirements? I want to install it on my phone only, not for public or commercial use.
One extra information, I have also downloaded a random .ipa file from the random website for testing. The result is failing to install as well. Same error.

React-Native app reverse engineering and obfuscation

Is react-native expo generated apk obfuscated?
exp build:android
How can I retrieve my react native JS source code back using that apk? Do I need dex to java compilers for this purpose?
Looking for your valuable suggestions as I am concerned about the security of my react native app and trying to compare obfuscated vs non-obfuscated code
There is no need to decompile the app using dex to java tools.
If you generate a production build it will be minified, but this is far from being a high level obfuscation which you can try to achieve with react-native-obfuscating-transformer
You can find the js bundle by opening the apk with a zip archive manager. The bundle will be at:
/assets/index.android.bundle
In anycase, any client side code should be treat as unsafe, if you need security use your backend to handle it.

Running an Android app that has a dependency of another app in Google ARC

Experimenting with Google Chrome ARC, I'm trying to run my application which has a dependency of another application (in particular, my application is using some library functions from OpenCV, and it needs the "OpenCV Manager" app to be installed on the device in order to work).
Is it possible to tell ARC that the 2 apps are connected (I got the APKs of both apps), or every app is entirely isolated and can't know about other apps?
Your packaged APKs in your CRX file are isolated from those in any other CRX file, with the special exception of any APKs inside the ARC runtime CRX file.
You may be able to package the OpenCV manager APK in with your app (inside the same CRX file). It sounds like the license terms would allow it (but require a copyright notice). Since it would be bundled, you would lose out on automatic updates, which may or may not be a problem for you.
We definitely have integration tests which bundle two APKs together like this. However I'm not sure we have done much testing around having a service APK (like OpenCV Manger) with a normal app APK, so you may run into additional issues.
Note that ARC tries to start the main activity in the last APK installed (listed in the metadata file), so the OpenCV APK should be listed first.

MQA fails after archiving application in XCode

Short Version: I'm having issues while archiving my application. The debug works, the archive doesn't. There is nothing to troubleshoot, anyone has ideas?
Log Version:
I have a hybrid worklight app, fully functional and archiving was working just fine until I've added MQA and I'm using iOS.
Versions are:
Worklight 6.2, MQA 6.3, Xcode 6.1, and iOS 8.1.2
Now I've added MQA following the steps here.
I've copied the framework into my project directory and added in the other_linked_flags a force load for it.
I've also added a few lines of code to for it to work following the same instructions. Basically everything works just fine when I run it from xcode. When I run the app that xcode deploys on iphone, it the app runs normally and MQA also works.
I only have some kind of problem when I try to archive the app to deploy it in a ad hoc environment.
When I do that the iPhone screen remains black after asking me which user it should use on the MQA. It seems that it can load the webview but can't load the html app.
Unfortunately this doesn't even generate a crash log an as such I'm left in the dark about what is happening.
Can someone give me some light on what can I do to troubleshoot this issue?
You may be trying to integration the wrong library into your project.
Right now it looks like you are working on a Hybrid app but try adding the native libraries into it, which is incorrect.
If you are working on a Hybrid app, you need to download the Hybrid SDK.
If you are working on a Native iOS app, you need to add the native library
There is a library specific to Hybrid apps. You can find it in the following link: http://www-01.ibm.com/support/knowledgecenter/SSFRDS_6.3.0/com.ibm.mqa.uau.doc/topics/t_download_wrklight_libraries.html?lang=en
All what is required is to do is removing the native library if added, and integrate the worklight SDK into the app code under the common folder in the main.js file.

Resources