React native control IOS sleep mode - ios

I am building an ios app, where we need to control the device sleep mode remotely from the socket events. Is there a way we can accomplish this in react native. I have a found a very old library https://github.com/rhaker/react-native-control-screen-sleep-ios. this library is not able to link with my app.
Please guide me how we can accomplish this. Thanks

Related

Publishing Expo vs React Native Apps

I developed an expo app and now I need to publish it to the app store. I want to know do I only have to publish it using expo or can I publish it as if it's a normal React Native app ?
I know it's easier with expo but I just want to know if it's possible.
Yes, it's possible. You need to eject from expo with command expo eject. It will create bare React Native code with folders like android and ios.
It's one way journey - I mean after converting it to Rect Native project, you can't revert changes to expo. Workaround is just reset changes :) And you can do this ejection before every app publish.
Long way but - yes, it's possible

Auto Detect OTP is not working in Xamarin Android app when trying from playstore

I am building Xamarin Android app with AutoDetect OTP feature referring from
https://www.c-sharpcorner.com/article/verify-otp-automatically-in-android-without-sms-read-permission-using-xamarin-fo/ and https://theconfuzedsourcecode.wordpress.com/2019/03/09/using-sms-retriever-api-in-xamarin-android/ and it is working as expected in debug mode, But when I try to use the same from the playstore version it does work. Maybe it is because the code is getting obfuscated when publishing to playstore.
Can anyone please help by providing more info on how to use proguard/r8 (preferred) with custom configurations?
Thanks

Can you code JavaScript/React-Native in Xcode?

Is it possible to code an iOS app with React Native in Xcode? I like the xcode UI better than vscode for mobile so I was wondering if there's a possibility, not talking about simulating cause that's all what I was getting when searching this on Google I'm talking about actually coding React Native in Xcode IDE. Thanks

Running node.js libraries on iOS

I have a need of using node.js libraries on iPad/iPhone, like tone.js to trigger generate sounds, see https://tonejs.github.io/
The app itself can be a react native app or based on Swift.
Are there any modern possibilities, or maybe there are better ways of doing than doing it with node?
I dont think the web audio api used by tonejs works outside of a webview.
for react native use
https://github.com/zmxv/react-native-sound

Does Xamarin Test Cloud support React Native apps on iOS Devices?

We have build an app using React Native, and are currently looking for a test cloud service.
Xamarin looks like a good choice, but does it work with React Native?
Xamarin UI test doesn't care about how you have compiled your app, it's enough that when launched your app renders native component and React Native makes exactly this. So you can use it, for instance, with native Android and iOS, with Titanium, with Native Script, but not with Ionic and all the Cordova based frameworks.
You could have problems also if inside your app you used a lot of webviews.

Resources