Create camera app using react native (Expo) - react-native

Is it possible to make a camera app using Expo so that the camera will be opened right after I start the app. The solution I found needs to tap a button 'start camera' after the app is started. But I want my app to open camera without pressing any buttons (right like the native camera app on iOS)

Related

React Native Expo run in webview resize app

When using expo to run react native and running in a web browser, the app takes up the entire screen. How do I make it so that the app can resize and look like a phone screen? I tried opening f12, but there's no button on the top right that allows me to resize the view. Here is a screenshot.
if your question is how to resize your browser? you can follow this.

React Native - Native audio player on locked device screen

I'm using react-native-sound library for audio files to play inside Rn app for both iOS and Android.
I have question about locked screen, I would like to have audio player on locked screen.
Currently behaviour is different, on iOS audio stops after lock, on Android it continues.
I would like something like this:
I know this is a late answer but I just installed https://www.npmjs.com/package/react-native-music-control and using it alongside react native sound and everything works for the lock screen in ios. The audio continues to play in background when using the react native sound option:
// Enable playback in silence mode
Sound.setCategory('Playback');
If you follow the docs for both libraries it should work for ios. In the react native music control library, make sure you follow the part about setting the Background Mode in xcode. Bare in mind that in the simulator the lock screen was not showing, only when the app is on the device does it show but the audio does play in background on simulator.

How can i set background app icon in ios?

I am creating a new react native application. I set the app icon in Xcode but when I open the background apps my icon seems unset.
But in the main menu, it seems normal.

How to could get a React Native app Screen over phone locked?

Im trying to learn React Native my problem is run my app on android locked screen. How can i get my app screen every time pushed phone lock button and getting my app screen over android lock screen

How to inspect the React native android UI elements in android emulator?

Am running the app in the android emulator and, I want to Preview/Inspect the UI elements.
yes you can check using android studio.
please follow the step:
Tools> android > Android Monitor Device
Open another view
in This view show camera icon in left side panel.
right side of camera icon another icon called "Dump View hierarchy for UI Automator" press on it.
then you can check.