indooratlas / cordova-plugin Goto Github PK
View Code? Open in Web Editor NEWIndoorAtlas Apache Cordova plugin
Home Page: https://docs.indooratlas.com/cordova/latest
License: Apache License 2.0
IndoorAtlas Apache Cordova plugin
Home Page: https://docs.indooratlas.com/cordova/latest
License: Apache License 2.0
Hi!
I have noticed pretty severe error on iOS (14.3 and 14.4) that makes the plugin non-functional.
It occurs when switching geofences within a floor plan. I am not an iOS dev, but that's what I was able to capture
Configuration wise, we have just one floor plan with couple geofences added.
Any help would be highly appreciated as the exception crashes our app entirely.
I tried to review these changes 3012d88#diff-11a0e118bb57c01081d59ef8f4297267c2d38f746ec2e24dcef78f0787c298dd for added geofence support, but I was not able to find the cause.
Thanks!
Tested on the latest plugin version.
getting this error in my ionic v1 app
my ionic info
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 6.4.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
Cordova Platforms : android 6.0.0
Ionic Framework : ionic1 1.3.4
System:
Android SDK Tools : 25.2.5
Node : v6.9.1
npm : 4.3.0
OS : Windows 10
Hi. Has anyone tried using the cordova examples with either Adobe Phonegap Build or Microsoft Visual Studio 2015 Tools for cordova ? I would be keen to learn how its down.
Hello,
I'm using the Cordova SDK Version 3.1.2, when calling IndoorAtlat.initialize("API_KEY");
I get the following Message in the console:
App[9828:18747419] -!- IndoorAtlas SDK :: API secret must not contain white space
I located the line, where the secret is set within the sourcecode (IndoorAtlasLocationService.m) and removed the whitespace:
[self.manager setApiKey:self.apikey andSecret:@""];
this removed the message but now when running it, the following error appears and it crashes:
Assertion failed: (!strcmp(dispatch_queue_get_label(__null), ("com.apple.main-thread"))), function -[IAWebsocketPositioner init], file /Library/jenkins_home/workspace/ios-sdk-master/framework/IAPositioner/IAWebsocketPositioner.mm, line 111.
Everything is working fine on Android.
I encountered an issue which occurs after I call JS removeWayfindingUpdates()
.
Basically, the stopWayfinding function expects destination
object which is not defined at this point.
function stopWayfinding() {
native('removeWayfindingUpdates', [destination.latitude, destination.longitude, destination.floor]);
}
After analyzing the native method I figured we do not need destination
there as removeWayfindingUpdates()
does not take any arguments:
private void removeWayfindingUpdates() {
getListener(this).removeWayfindingUpdates();
cordova.getActivity().runOnUiThread(new Runnable() {
@Override
public void run() {
mLocationManager.removeWayfindingUpdates();
}
});
}
Correct me if I am wrong, but I'd go ahead and remove destination
reference from there.
Btw. Great plugin!
The cordova-ios
platforma version 7.0.0
was released and I'm now getting an error with your plugin:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
I want to watch geofence changes even if the app is in the background. I am using react-native-background-actions library for background actions. When I start the background process, the indoor atlas works until I close the app. After that, I can see numbers provided by forloop (check the image) but there is no data logged for location or geofence.
Is there a probability to get the waypoints added to a floor plan?
Hey, today we found this issue related to android repository:
Could not GET 'https://indooratlas-ltd.bintray.com/mvn-public/androidx/core/core/maven-metadata.xml'. Received status code 403 from server: Forbidden
Has something changed recently in regards to that?
Both this plugin and cordova-plugin-geolocation plugin define Position global object. Hence the two may conflict.
Just noticed that with the master plugin it won't compile on Xcode.
And the issue is that on the "Indoor Atlas Framework" inside Plugins>cordova-plugin-indooratlas>src>ios>IndoorAtlas2.4, if you open it on the finder you will find that you have this sub-menu structure: Versions>2.4.1-66>"Needed files", when I compile it it will give me an error.
Then I moved the files outside of the Versions>2.4.1-66 folder and it compiled correctly.
Let me know if I didn't explained correctly or if you need more info
Hi,
I'm not sure if I'm doing anything wrong or missing anything but I noticed these issues when trying to use the plugin. I couldn't find any information about this on the internet so I thought I post my questions here. Hopefully someone could help.
cp: no such file or directory: /Users/quannguyen/Documents/hg/winkers/winkersapp/plugins/cordova-plugin-indooratlas/src/ios/IndoorAtlas2.3/IndoorAtlas.framework/Resources
Failed to load Info.plist from bundle at path /Users/quannguyen/Library/Developer/CoreSimulator/Devices/AD8C22E2-96FC-4D92-9F19-4714FDF44370/data/Library/Caches/com.apple.mobile.installd.staging/temp.vX8ShE/extracted/Payload/Winkers.app/Frameworks/IndoorAtlas.framework
Thanks so much in advance!
Quan
The iOS version of the new plugin is completely missing the setPosition function.
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.