beaconstac / nearbee-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWBeaconstac NearBee SDK for iOS
Home Page: https://www.beaconstac.com
License: MIT License
Beaconstac NearBee SDK for iOS
Home Page: https://www.beaconstac.com
License: MIT License
For manual installation, it says:
Add the NearBee.framework, EddystoneScanner.framework, and Socket.IO-Client-Swift.framework
to the embedded binaries section of your destination app target.
However, when downloading the zip file for NearBee, there is no EddyStoneScanner.framework and no Socket.IO-Client-Swift.framework, and the installation doesn't say how I can find these. When trying to build my project, I get "module EddystoneScanner not found".
I went to the EddyStoneScanner GitHub (https://github.com/Beaconstac/EddystoneScanner-iOS-SDK) and there is no EddyStoneScanner.framework file there either when I downloaded the zip file.
Where can I find EddyStoneScanner.framework and Socket.IO-Client-Swift.framework? Thank you.
The beacons I need to detect are in the USA, but I am located in Thailand. I do not have a physical beacon with me. I have setup the app to get the notifications on the lock screen, and a developer in the US has tested this for me and verified that it works.
However, because I cannot receive notifications here, it is quite difficult to test the userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse)
method and perform the appropriate actions when the app is opened via the notification.
So my questions are
let payload = response.notification.request.content.userInfo
, correct? And then I would just use that dictionary and get any value being sent, such as let urlSent = payload["url"]
?Thank you
Right now, if I click the notification, it seems like it is about 1 hour before the notification would appear again. What's the current time delay between seeing a beacon again?
Also is there a way we could extend this time delay?
Beacons have the following properties available on iOS:
eddystoneURL
eddystoneUID
physicallWebDescription
physicalWebEddyStoneURL
physicalWebIcon
physicalWebTitle
physicalWebUpdated
Judging from this, it does not appear possible to get the serial number of a beacon inside the app. Is there another way I haven't noticed?
Thanks
Try as I might, I cannot get a new project following instructions step by step or the SampleApp to build.
I am looking into adding a sound to when the notification is received. From what I can see, it looks like this must be added on the sending end of the notification when creating an instance of UNMutableNotificationContent
(https://developer.apple.com/documentation/usernotifications/unmutablenotificationcontent)
Is there currently a sound being specified? If not is there some way to add that ability? See also https://stackoverflow.com/questions/42318209/swift-unusernotification-does-not-trigger-sound
Is there a set time limit for nearbee to stop scanning? When leaving the app open overnight and then walking by a beacon, it does not detect it. However, upon opening the app again it immediately detects the beacon. So it seems like the background scan works for a while but then stops. Has anyone else had this issue or any known workarounds?
I have the project setup exactly as the sample project describes.
I am wondering exactly how the push notifications work for iOS. The readme doesn't mention anything about it. The notifications are being sent from Beaconstac, correct? It isn't something we need from our server, right?
Right now I have the app setup to use bluetooth and get the user's current location, but it is not finding any beacons. Here is a simple gist of what my current ViewController code is: https://gist.github.com/JoeyBodnar/ac2344b10bdc07627cbf641e862db4d6
However, I never receive any notifications, nor do any of the delegate callbacks (onBeaconsFound, onBeaconsUpdated, etc) fire inside the app. Is there something I am missing?
also, the line:
let nearBeeInstance = try! NearBee.sharedInstance()
from the readme does not compile. It says "type NearBee has no member 'sharedInstance'.
thank you
Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1.3 compiler:
Can you update it ?
Hi,
I am using v3.2.13 from CocoaPods and I am able to build the app with Xcode 12.5.1, but when I run the app I get this error:
dyld: Symbol not found: __ZN5swift34swift50override_conformsToProtocolEPKNS_14TargetMetadataINS_9InProcessEEEPKNS_24TargetProtocolDescriptorIS1_EEPFPKNS_18TargetWitnessTableIS1_EES4_S8_E
Referenced from: /private/var/containers/Bundle/Application/3DD191EA-96C0-4F54-AC87-D127C4837B5F/***.app/Frameworks/NearBee.framework/NearBee
Expected in: /private/var/containers/Bundle/Application/3DD191EA-96C0-4F54-AC87-D127C4837B5F/***.app/Frameworks/EddystoneScanner.framework/EddystoneScanner
in /private/var/containers/Bundle/Application/3DD191EA-96C0-4F54-AC87-D127C4837B5F/***.app/Frameworks/NearBee.framework/NearBee
Could you guys help me on this?
Thanks!
This is when a notification is clicked and a custom url is displayed. I'd like to add a dynamic querystring to the custom url as it is loaded. Is this possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.