React Native Bluetooth background scan - react-native

I'm trying to scan devices on IOS when the app is in background mode. I've learned that I have to tell explicitly what service ID I'm looking for. I was trying with 180F which is the battery service but it didn't find anything. Is it possible at all on IOS? It works well on Android.
I'm using the react-native-ble-manager package.
Can you tell me maybe a common service UUID what every phone advertises?
My aim is to track every contact with phones which are nearby me and it should work when the app is in background mode.

Related

Is there a way to send a phone call to a phone number without start the dialer Voice application using react native?

We are making an electronic device with a SIM Card included in it. Then, when we make a call to a certain phone number associated with this SimCard, that triggers some actions in the device.
Now I want to develop a react native phone application to send the phone call request "in the background" when a button is tapped in this app.
Are there any ways to do this? I don't want to run the installed phone app/dialer app, because we do not intend to talk someone, but only trigger an event.
I've been looking for a solution but the react-native modules working with phone calls (example: react-native-communications) are not very clear concerning this.
If a solution using react native weren't available I accept other ideas about how to implement this requirement (angular, or using an intermediate server with node/PHP/Java/etc..)
Thank you.

react native background geolocation

I have a requirement to save user's geolocation when react-native app is running in background. I know react-native-background-geolocation is available for this but I don't want to use any third party tool for this. Is there a way I can fetch users current location even if the app is running in the background?
With the last Expo SDK 32 you should be able to to it.
We’re excited to announce that this release includes initial support for background location, a highly requested feature from many Expo users. You can now define simple JavaScript tasks in your app and register them to receive location updates in the background. Additionally, you can set up geofencing tasks that are triggered when the device enters or leaves specific geographic regions

Alarm Functionality In ReactNative For Android And iOS

I want to make app that play music every day at specific time (for example : 07:00) even if the app in background or turned off
I had done it in android with Java & Android SDK using Alarm Manager , i'm looking for something like that for ReactNative
I had searched for libraries but i did not found useful resources
check this out https://github.com/wmcmahan/react-native-calendar-events , The alarms associated with the calendar event, as an array of alarm objects.

iOS 7 App Operations Running In Background; Saving a Video Recording In Background

I am currently trying to find the most efficient way to continue a method in the background of my app.
I am probably adding location/gps to my app soon, so I was considering using that flag to keep the app Active in the background. However, I do not want to add that flag yet because I want to post an App Update before I add the location functionality.
I know the exceptions;
Apps that play audible content to the user while in the background, such as a music player app
Apps that keep users informed of their location at all times, such as a navigation app
Apps that support Voice over Internet Protocol (VoIP)
Newsstand apps that need to download and process new content
Apps that receive regular updates from external accessories
Besides asking for a more generic idea then these ^, can someone explain the "external accessory" flag please? I am recording video from an outside device. However, I do not know what constitutes an "external accessory".
I also see that iOS7 has introduced new Multi-tasking functionality but I haven't seen any examples that I understand can someone also explain that? Maybe that is a viable solution?
Thanks in advance!

Is there a known database or a way to retrieve icons of different apps

I am building some software that requires me to display the icons of different apps, and possible save them on a database so I can look it up on demand?
I know you can get the url scheme but is that all you can do with it ? Or is there a way to get the app icons ?
For instance is there a way to get the icon of angry birds via an API call to the IOS system ?
In a non-jailbroken iPhone, you cannot get it from the OS.
You need to query the iTunes service from Apple to get this info ex:
http://itunes.apple.com/lookup?id=284882215
See this SO post for more detail
Get other application icon image in my Application