Posts

Post not yet marked as solved
19 Replies
6.7k Views
Hi,I am lookig for a way to activate Hotspot from my app without existing to the netowrk settings screen.My goal is to have a minimum user interaction (defining hotspot name, hotspot password, ect..). All I want from the usre is permission to activate a hotspot (will be done by somekind of dialog).I looked into `NEHotspotConfiguration` and `NEHotspotConfigurationManager` to confiure a hotspot and connect as follow:```1. let hotspotConfig = NEHotspotConfiguration(ssid:***, passphrase:***, isWEP: false)2. hotspotConfig.joinOnce = false3. NEHotspotConfigurationManager.shared.apply(hotspotConfig)```This enable me to configure a personal wifi AC but I can't "see" it from other devices.My goal is to activate hotspot so other devices can connect to it.I understood that I need special approval from apple to use NetworkExtension framework and I sent a request over 2 weeks but I still did not recieve any reply besides a request number.
Posted
by asafB.
Last updated
.
Post not yet marked as solved
3 Replies
1.8k Views
Hi,I am trying to understand about the background work that can be done in iOS.I am writing an app that is suppose to fetch data from an IoT accessory and sebd it to the cloud, so basically we are talking on 2 actions that I want to verify that can be done in the background.From what I am reading in the forum, In order to guarantee the background action (in the forum its mainly fetching) I need to "wakeup" the app via push notification.since I am planning to connect my IoT to the app, I am planning to send push notification using the BLE channel (that is alway active - as described here https://uynguyen.github.io/2018/07/23/Best-practice-How-to-deal-with-Bluetooth-Low-Energy-in-background/).My questions are:1. If the user does not allow my app to send push notifications, will this flow be possible?2. Can I send silent notification using this method, as I understand it does not reuiqre the user to do something?3. What about sending the data to the cloud in the background, can it be done?Thanks!
Posted
by asafB.
Last updated
.
Post not yet marked as solved
0 Replies
967 Views
Hi,I am investigating a a way to create one-to-many network via BLE.One of the nodes in a custom device and the 2 others are apple devices - iPhone and iPad. The typology is:1. The peripheral BLE device (my custom device) should connect to 2 central BLE devices2. The connection is bi-directional and the data that is passed can contain big chunk of data.As far as I know:1. BLE connection is only 1-1, and I can't have one-to-many?2. Beacon - allow one-to-many but its only one way?3. BT Mesh - seems like the possible solution but I could not understand if iOS devices support this kind of connection with non-apple device and if in BT Mesh I can pass big chunk of data in the messages?I hope to get response to all of the 3 question above.(No need to mention that all should be done programmatically 🙂)Thanks!
Posted
by asafB.
Last updated
.
Post not yet marked as solved
0 Replies
616 Views
I am developing application that supposed to connect to another device using BLE.I am wondering if there is a way I can programatically establish secure connection with a peripheral device Or is it solely OS responsibilty?In Android, this can be done using something like https://stackoverflow.com/questions/38055699/programmatically-pairing-with-a-ble-device-on-android-4-4
Posted
by asafB.
Last updated
.
Post not yet marked as solved
0 Replies
403 Views
Hi,I am trying to add a custom font to my project - I am writing an app for iOS.I am using X code 9.2.I did the following:1. create a folder name 'Resources' under my root project.2. added the *.ttf files to it and marked the target Membership for each file.3. update 'info.plist'.4. added the files to 'copy bundle resouces' in build phases.I also add the following function: for (NSString* family in [UIFont familyNames]) { NSLog(@"%@", family); for (NSString* name in [UIFont fontNamesForFamilyName: family]) { NSLog(@" %@", name); } }to AppDelegate.m file in order to if my fonts added to the porject.All was based on this article: https://medium.com/@kswanie21/custom-fonts-in-react-native-tutorial-for-ios-android-76ceeaa0eb78tried both ways (manual and automatic)It does not work, any ideas?
Posted
by asafB.
Last updated
.