beaconstac / eddystonescanner-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWEddystone Scanner SDK for iOS written in Swift 4.0
Home Page: https://www.beaconstac.com
License: MIT License
Eddystone Scanner SDK for iOS written in Swift 4.0
Home Page: https://www.beaconstac.com
License: MIT License
"Beacon UID frame not yet discovered" always show on the logs
what did i wrong ?
advertisementData[CBAdvertisementDataServiceDataKey] alowys return nil why ?
I wrote a simple code, without the tableView and it outputs nothing, can you please look into it and see if its an issue? Peace!
//
// ViewController.swift
// ES3
//
// Created by Utkarsh Sinha on 27/2/19.
// Copyright © 2019 ORTech. All rights reserved.
//
import UIKit
import EddystoneScanner
import UserNotifications
class ViewController: UIViewController {
let scanner = EddystoneScanner.Scanner()
var timer : Timer?
var beaconList = [Beacon]()
var state = 1 //monitor Slider switch's value
@IBOutlet weak var Switch: UISwitch!
override func viewDidLoad()
{
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
scanner.startScanning()
scanner.delegate = self as? ScannerDelegate
}
func didUpdateScannerState(scanner: EddystoneScanner.Scanner, state: State)
{
print(state)
}
func didFindBeacon(scanner: EddystoneScanner.Scanner, beacon: Beacon)
{
beaconList.append(beacon)
}
func didLoseBeacon(scanner: EddystoneScanner.Scanner, beacon: Beacon)
{
guard let index = beaconList.index(of: beacon)
else
{
return
}
beaconList.remove(at: index)
}
func didUpdateBeacon(scanner: EddystoneScanner.Scanner, beacon: Beacon)
{
guard let index = beaconList.index(of: beacon)
else {
beaconList.append(beacon)
return
}
beaconList[index] = beacon
}
@IBAction func Switch(_ sender: UISwitch)
{
state+=1
if state%2==0
{
startScanning()
}
else
{
stopScanning()
}
}
func startScanning()
{
print(scanner.nearbyBeacons)
print(beaconList)
print(beaconList.count)
}
func stopScanning()
{
}
override func didReceiveMemoryWarning()
{
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
Is it still possible to manually install the framework?
I still get the whole package, but not in a .framework package. is this expected?
Thanks.
Cloned the repo and running through the Docs, per README what is target do? Trying to get the SampleApp running, so would target 'SampleApp' do
- would work?
If that's the case, I'm still here. Ran into a terminal error on pod install
. The error: - Use the `$(inherited)` flag, or - Remove the build settings from the target
Changing the "Always Embed Swift Standard Libraries" in XCode from YES
to NO $(inherited)
, running pod update
leads to a working build! But... nothing in the simulator. All the top searches for XCode shows Build succeeded but IOs simulator does not run
lead to editing the Schema. I selected "SampleApp" as executable and "Automatically" launch. Simulator will not though.
Any clarification on installation (just getting an basic app template up and running if that's possible) is most appreciated. Regardless of these difficulties, this repo is lightyears better than the react-native and office Google docs on iBecaons/Eddystones.
When I choose the kalman filter and compile the application it takes the first value that I calculate if I move away from the beacon the kalman filter does not come back to update someone could help me in that part.
I was reviewing the code but when I put the application in background mode without destroying the application the Eddystone library stops detecting beacon scanning.
"Starting scan for Eddystone beacons"
Fatal error: Index out of range
2019-04-16 02:36:20.590118-0400 SampleApp[1465:498438] Fatal error: Index out of range
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
Using your scanner as a part of another application that I am building. This is the error that I get while scanning for more than 2 minutes or so. The scanner crashes and freezes the entire app. I am using the EddystoneScanner-iOS-SDK-1.1.8 downloaded on March 12,2019
Hello. I tried to use the sample app and it doesn't seem to be detecting simple URL beacons.
Looking at the code:
EddystoneScanner-iOS-SDK/EddystoneScanner/Scanner.swift
Lines 188 to 208 in dd302bb
It doesn't seem to have any add to nearbyBeacons list code.
Am I missing something?
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.