Giter Site home page Giter Site logo

beaconstac / nearbee-ios-sdk Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 96.95 MB

Beaconstac NearBee SDK for iOS

Home Page: https://www.beaconstac.com

License: MIT License

Ruby 3.09% Objective-C 75.00% Swift 21.75% JavaScript 0.16%
swift4 swift-library swift-framework ios-sdk beacon eddystone-beacons proximity-advertising proximity-marketing

nearbee-ios-sdk's People

Contributors

ravipratapm avatar sachinmobstac avatar souro7 avatar sourobrata avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

3v1lw1th1n

nearbee-ios-sdk's Issues

No EddyStoneFramework or Socket-IO framework

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.

Spoofing beacon location

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

  1. is there a way to spoof this beacon location so that I can receive notifications here?
  2. if that isn't possible, I assume the correct way to access the info being sent in the payload is : 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

Time delay between seeing beacon again

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?

Getting Beacon serial number from notification

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

Is 0.1 working?

Try as I might, I cannot get a new project following instructions step by step or the SampleApp to build.

Adding sound when receiving notifications

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

Beacon scan stops overnight

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.

Receiving push notifications from NearBee.

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

Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1.3 compiler:
Can you update it ?

Pod not working on device

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.