I have a windows phone 8 app that opens up a webpage inside the Web browser Control. The webpage has a button that when pressed needs to inform the app that 'I've been pressed', so that the app can perform some task. Is there a way to perform such task on windows phone? I found a couple of articles where IPhone native app did a similar thing
Any way for webview to communicate with native iOS app?
But found no luck for windows phone.
Related
So I am using navigator.serial in my reactjs PWA to access the COM-Ports and receive information from a external bluetooth GNSS receiver.
This works perfect on any Windows device but fails on any mobile device that are using android/ios.
I found out that the serial API is not implemented on mobile, is there a workaround to this other than the bluetooth web API`? Any other way to listen to COM-Ports on mobile?
I am developing a app in react native. While the app start any financial transaction it should scan if other application are running in the background or not both in iOS and Android platform?
I know it's been a year, but:
Detect when other Application is launched in React Native app
Due to security concerns, apps are "sandboxed". You can't tell what other apps are running on the device.
You can however see what apps are INSTALLED on the device, and you can do things like deep-linking to open other apps on the device.
I am creating a small debugging app to monitor a particular interaction (WebRTC) between two users of my main app.
I have a web app (React) and a mobile app (React-Native) that each connect through socket.io to a node server I created. This node server's purpose is to collect information from both users, and display this information in a web page in real time.
My web app has a button that when you click it it opens up that debugging web page in a new tab with the debugging information; I just use window.open. Is it possible to do something similar from my mobile device, running a react-native application? That is, can I click a button and have a browser tab open on my laptop somehow? Does React-Native remote debugging work with something like this?
There is currently no supported way you can do this in React Native.
However, you can certainly add it yourself.
Navigate to node_modules/react-native/local-cli/server/middleware/getDevToolsMiddleware.js
Look for launchChrome(debuggerURL);, you can invoke another launchChrome function with your desired URL.
This will only appear when you select Debug JS Remotely.
You can configure the CLI server code more to launch the URL when you are not debugging.
I have a mobile web app that works in conjunction to a native app (downloaded from the app store). When I run the web app, I am detecting if the native app is installed when the user clicks on some buttons. So far so good. Now, how can I detect which VERSION of my app is installed? Is this even possible?
Recently I submitted an iPhone app that was rejected because it uses the APNS to push messages that could contain marketing and advertising information. Because of this, I now need to create a web app instead of a native phone app.
My problem is that I need to poll the phone’s location in the background. When Safari is in sleep mode I need to somehow have a java script running in the background to monitor location changes. Has anyone been able to do this?