Support for broadcast beacon in React Native - ibeacon

How can I broadcast beacon in React Native? Is there any packages supporting both iOS and Android? I found this package, but supports only iOS. I don't see anything which supports for Android alone or both iOS and Android.

This React native Beacon library supports for both iOS and Android.
This is another library (Even though it is for Konkat.io beacons, they says that it will works for all beacons.

Related

Is golang supported in Android Things?

Can we use golang in Android Things?
I would like to program in golang an IoT app, however I don't find support for golang in Android Things.
From the point of view of Android application developer Android Things is pretty much the same. So if you can write Android apps in Go, you can do the same for Android Things app development.
As far as I know the Android Things offers just a lightweight version of Android.
Go supports mobile platforms such as android and IOS:
https://github.com/golang/go/wiki/Mobile
It still uses java/objective-c bindings though
Also check if you need Android Things, because there is nice framework:
https://gobot.io/#platforms
designed for iot.

Hyperloop for Bluetooth LE communication in iOS app?

Can anyone point me to some examples or direction on how I could use Hyperloop to integrate a bluetooth device in my Titanium iOS app? Seems like it should be possible but I've never done Objective-C or native iOS development and I'm not sure the best way to go about it.

Android wear 2.0 - SIP API support

I wrote SIP client to register my phone, and make and receive SIP calls. I am able to successfully implement it in Android phones. But the ultimate aim is, I need to implement this for Android watches using Android wear 2.0. Before flashing the watch with Android wear 2.0 image, I tested with Android wear 1.x and found that SIP Api support is not there for 1.x. As the preview image will void the watch warranty, I wanted to make sure what features can work on Android wear 2.0 before starting the implementation. When I searched for, I don't see anywhere that SIP API support is in Android Wear 2.0. Can someone confirm whether Android wear 2.0 has support for SIP or not? Thanks.
It seems that SIP API is not supported (or maybe not yet?) in Android Wear. From this documentation:
Note: Not all Android-powered devices support VOIP calls using SIP. You should always call isVoipSupported() to verify that the device supports VOIP calling and isApiSupported() to verify that the device supports the SIP APIs. Your application must also request the INTERNET and USE_SIP permissions.
I'm not sure with this since I don't try yet, but according to this SO answer, you can use 3rd party SIPStack implementation to make SIP supported.
You can find in this link the only features that Android Wear 2.0 supports.

iBeacon app for android and IOS doubts

I'm trying to learn something about iBeacon and I have a question:
As far as I understood Apple provides API in order to develop iBeacons app since IOS7, but for android how does it work? The only thing I found is that It works only from version 4.3 (Is it correct?) But are there any sdk or library to use?
Yes, you can use the open source Android Beacon Library, which gives Android the same basic capabilities to detect and transmit as beacons as provided by CoreLocation on iOS devices. This library is designed to be vendor neutral, and works with a wide variety of beacons. There are also a number of proprietary Android SDKs offered by beacon manufacturers, some of which harness special features that only work with those beacons.
The main thing to understand on Android is that while 4.3+ devices can all detect Bluetooth LE transmissions, there is no native beacon framework, and working with beacons typically requires quite a bit of logic beyond reading the Bluetooth LE packets they send out. As a result, Android beacon apps typically bundle a small library like mentioned above with the app to provide beacon detection and/or transmission capability.
Full disclosure: I am the lead developer for the Android Beacon Library.
You can use as well kontakt.io Android SDK which handles Beacons with IBeacon profile. In the latest release some optimizations in terms of battery consumption were made. Additionally, it supports filtering and modes (Android Lollipop and upwards) according to which scan is performed (explanation in brief here).
To start, visit http://docs.kontakt.io/android-sdk/quickstart/ and follow the instructions.
There is a sample app demonstrating SDK functionalities here. I suggest observing the project as it is the first place where new changes are being introduced.
As #davidgyoung pointed, there is no native framework for IBeacons in Android at the moment.

AltBeacon: Start a beacon on android

Is it possible to create an AltBeacon (so start advertising) on Android with the official Android AltBeacon library?
https://github.com/AltBeacon/android-beacon-library
Much like we can create an AltBeacon using the iOS libray and start advertising (https://github.com/CharruaLab/AltBeacon) can advertising be achieved on Android 4.3+ ?
Yes, you can use the Android Beacon Library to transmit, but it requires Android L and is not possible with Android 4.3. See the sample transmitter app here:
https://github.com/AltBeacon/altbeacon-transmitter-android
This sample app is based on a branch of the library that targets the new Android L operating system and provides a BeaconTransmitter class. Once Android L is released, this branch will be merged into the official release of the library.
The reason transmitting requires Android L is because Android 4.3 does not support BLE Peripheral mode needed to transmit as a beacon.
It is also important to note that the iOS AltBeacon project from CharruaLabs Lab mentioned above is completely independent and uses a different incompatible transmission format.

Resources