happydenn / cordova-plugin-gimbal2 Goto Github PK
View Code? Open in Web Editor NEWA Cordova plugin for scanning and interacting with Qualcomm Gimbal beacons. Updated for Gimbal SDK v2.
License: Apache License 2.0
A Cordova plugin for scanning and interacting with Qualcomm Gimbal beacons. Updated for Gimbal SDK v2.
License: Apache License 2.0
Not sure if this was ever tested with meteor at all. But receiving a build failure issue when trying to build the xcode project for distribution/testing.
I've reset my project, removed and re-added the platform and deleted all previous builds. Any suggestions? If I do remove this package the build does work.
Appreciate the help.
=> Errors executing Cordova commands:
While building Cordova app for platform iOS:
Error: /Users/brentpatroch/Documents/dev/astralbeacon/astral-beacon/.meteor/local/cordova-build/platforms/ios/cordova/build: Command failed with exit code 2 Error output:
** BUILD FAILED **
The following build commands failed:
CompileC build/Astral\ Beacon.build/Release-iphonesimulator/Astral\ Beacon.build/Objects-normal/i386/Gimbal2.o Astral\ Beacon/Plugins/io.hpd.cordova.gimbal2/Gimbal2.m normal i386 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error code 65 for command: xcodebuild with args:
-xcconfig,/Users/brentpatroch/Documents/dev/astralbeacon/astral-beacon/.meteor/local/cordova-build/platforms/ios/cordova/build-release.xcconfig,-project,Astral Beacon.xcodeproj,ARCHS=i386,-target,Astral
Beacon,-configuration,Release,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/brentpatroch/Documents/dev/astralbeacon/astral-beacon/.meteor/local/cordova-build/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/brentpatroch/Documents/dev/astralbeacon/astral-beacon/.meteor/local/cordova-build/platforms/ios/build/sharedpch
at ChildProcess.whenDone
(/Users/brentpatroch/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Socket.<anonymous> (child_process.js:979:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
Solved
Hello !
I'm using your plugin to monitor Gimbal beacons and I don't understand your evenCallback function.
What should I put as "data" ?
Thank you for you answer.
It looks as if I'll have to clone this plugin. Since there is no package.json file, you can't install it with cordova plugin add ...
. Please add one. That way we can easily download updates by changing the version number. Otherwise we have to clone each time.
Hi,
my IOS application was unable to find any Gimbal beacons until I patched the Gimbal.m as following:
- (void)initialize:(CDVInvokedUrlCommand *)command {
NSString *apiKey = command.arguments[0];
statusCallbackId = command.callbackId;
// Patch starts here
[Gimbal start];
// Patch ends here
[Gimbal setAPIKey:apiKey options:nil];
}
Hello @happydenn
Wondering if you an updated version of this plugin. Thank you in advance.
Hi I am getting a memory leak that is causing my iOS app to crash. I have combed my javascript for any possible leaks and haven't found any. The crash only happens if I start the beacon manager. I've narrowed it down to an issue within the plugin or possibly an issue with Gimbal SDK/Cordova. Has anyone experienced this? I am using Phonegap version 3.9.2 on iOS 9.3.
Thanks for this plugin! I just recently upgraded from your 1.0 version to this. However, I am wondering if you are planning on integrating any PlaceManager functionality in the future? I appreciate your work in bringing this plugin to the community.
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.