-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do you have any demo app using it? #1
Comments
Here's an Example app: It's very basic atm, but proves the concept. I don't have a "published" version yet, nor any "apps" to show. If you would like to "extend" or "improve" my Example app, pull-requests are very welcome! If more interest in this, I may devote more time to building out examples. |
@zeroasterisk when running the demo app or trying to roll my own little one, i get an error on XCode
Any ideas of what might be the issue? |
that's prob a new feature of Meteor+Cordova. You've gotta allow those URLs. |
@zeroasterisk perhaps you could add instructions on the readme file then ? |
Sorry i'm completely new to meteor, would be something like this ? |
probably just:
Since you want it handled locally (by meteor), not externally (by the phone/other-apps). Please let me know how it goes... I'll update the docs if this does fix it. Also, just to be sure you know this, the above App config goes in |
@zeroasterisk funny enough i tried your example now, and it runs on my phone without any errors on xCode. But when navigating to: https://geolocationbackgroundexample.meteor.com i just see this: My example ( i tried implementing something from "scratch" ) still have the problem with accessing localhost, and for some weird reason i can't get through the initial page. I'll investigate more on my side, it seems that i have some weird problems. Does running https://github.com/zeroasterisk/meteor-cordova-geolocation-example in your iphone yields perfect results? |
Hello @hems, I have got the same problem as you and I post an issue on it. zeroasterisk/meteor-cordova-geolocation-example#3 I think this is related to the data structure that is proposed by the iphone version of the background service. The location attribute is not located at the same level. I have been thinking to use matb33/meteor-collection-hooks. Regards, |
Data structure difference: I did that. On Monday, March 30, 2015, jeangui [email protected] wrote:
Snet from Gmail Mobile |
Hello @christocracy thanks for your feedback. Best regards |
I'd love to see your finished/fixed example. |
@christocracy sorry i got a bit confused, what you mean by "i did that" ? Did you fix this issue on your package https://github.com/christocracy/cordova-plugin-background-geolocation ? If i'm not mistaken that is the package @zeroasterisk used under the hood here? |
I'm responsible for the difference in data-structure from Cordova's On Monday, March 30, 2015, henrique matias [email protected] wrote:
Snet from Gmail Mobile |
@christocracy and you think would be a good idea to standardize this? any tips on how to get started "fixing" our issue ? |
If we have to translate the data FROM this plugin, I think it would have to be on the AJAX receiver on the server... which is not currently implemented as part of this plugin, only as code examples, etc... If you can give me what JSON we are getting across all possible versions of the plugin (as examples)? I think making a basic translation method for easy inclusion on the AJAX receiver would be a good idea, and easy. (If I'm misunderstanding the issue, please set me straight) |
Hello, I have not any time to test it but in my mind the best way will be to use the matb33/meteor-collection-hook package with the function .before.insert. Cheers |
I agree - I love the "hooks" approach... but if it's a common problem, I'd like to bundle a common solution with this package, or as an optional but easy secondary package. |
A live example / perhaps published in appstore / google play would be wonderful.
The text was updated successfully, but these errors were encountered: