Hi everyone here it's my problem, I have an simple app on my Apple Watch and iPhone. All my goal is using iPhone minimum on the App. Instead of iPhone App I want to use this App mostly from the watch. So I have an UI screen consisting with 2 buttons (Scan and Connect) on the watch. And these buttons should control the iPhone's Bluetooth. I don't want to use Watch Bluetooth. Considering all, is it posibble to trigger the iPhone Bluetooth in background from Watch and connect iPhone to a BLE device.
I think I fix this problem with your help guys;
Hi again, I believe I can fix this problem with the background transfers. Let me first explain the problem better when I want to use iPhone App local database and also want to use iPhone's Bluetooth from the Watch App I had trouble. And then I noticed sending messages from Watch to iOS wakes up iOS in the background (Source for more detail). In this way I'll have using iPhone app only in background and even scan BLE devices from the iPhone in bg and send them to the Watch App (WC Sessions).
Source (Communicate with iPhone and Watch)
https://medium.com/#jackywangdeveloper/apple-watch-communication-with-iphone-af84d51ff810
Related
I am talking the silentbeacon.com personal safety alarm device. How is it able to connect with the phone with bluetooth while the screen is locked. I am looking for an IOS solution.
Just because the screen is locked on the iOS device doesn't mean it cannot do any Bluetooth functionality. iOS devices have a special background mode that allows them to continuously read BLE adverts and also communicate with remote BLE devices. You can find more about this here:-
CoreBluetooth background processing for iOS apps
BLE device keeps connecting with iPhone when app terminates
iOS - BLE scan and connect to peripheral in background
I am trying to get a notification on iPhone when the connection is lost from my Apple Watch.
My first approach was to check the session.paired==true which works fine when the application is on foreground. But I would like to receive that event when the app is on background.
Then I thought about the Background Modes of the iOS and that there is a mode for external-accessorythat will send a notification on the device when is connected or disconnected. Is there something similar for watchOS?
My other idea is again with background modes and Bluetooth. Can you detect the watchOS as bluetooth?
Did anyone solve this issue?
Want to put the icon for our iOS app on the iOS Notifications Screen that can be accessed when a user has not entered their passcode, so that the user can launch the app when the phone is locked without needing to input their passcode. The goal is for a very fast launch with minimum time from a locked iphone. We don't need to actually send the user a notification. Would also be great for this to work on Android, but iOS is currently more important for this feature.
What is the best way to do this using Cordova? Is there an existing plugin for this purpose?
Thanks
It is not possible to launch an iOS app without unlocking the phone/device. The notifications screen is only available once the iOS device is unlocked.
(thanks to dan)
I am working on an iWatch application. I am doing a sample app using swift and my requirement is to display LocalNotifications. When i run my app in my iPhone simulator i’m getting the notifications but i'm not getting notifications when i run the app in iWatch simulator. Can any one explain me about how local notifications display in iWatch.
Do we need to design any UI to show the notifications on iWatch i.e static or dynamic interfaces in iWatch Interface builder?
Thanks in advance.
Run your watch app Select notification target on simulator, dismiss the notification and stay on clock face.
Hit ⌘L to lock iOS simulator.
Enjoy notification arriving to watch app.
I am new to Apple Watch i am tried to Communicate From Apple watch to Iphone when Iphone is in sleep mode because i have to get some information from my Iphone application when i click on the notification on my apple watch.
we tried this links but these links are not working for me.
Can I keep my WatchKit App running in the background on the Apple Watch?
http://techotopia.com/index.php/A_watchOS_2_WatchConnectivity_Messaging_Tutorial
How can I awake my iPhone app in the background to run a function and return the results to Apple Watch?
Please help me.