It seems that there aren't many developers which are creating modules.
My needs: get accurate GPS location all the time (navigation).
I opened a question and hopped that some of the developers which are working on SDK will answer me but I guess this isn't the place (didn't find any "requests page")
Then I didn't want to wait so I crated my own module and a question.
So this question is for those who are working on Titanium SDK.
I understand that when I create blank titanium module for iOS some of the frameworks are included already. Because I use CoreLocation and CoreMotion in my module and I only need to put CoreMotion in
module.xcconfig so I guess that CoreLocation is already included and titanium builder knows about it.
More specific question is about Geolocation module on iOS side.
Is there something that is being done with CoreLocation in Geolocation module for it to work (update location)?
Because if you read my second linked question you will see that my problem is that CoreLocationManager is not updating it's location. I even tried code with delegate and it is never being called so that means that location is not being updated at all.
Code is right 100% because I did a native app which reads every 0.2 seconds for
locationManager.location property and it is being updated so that means that location can be pulled so I don't have to make a delegate and fire events each time location is updated.
Please answer, because I've tried everything and I reached a dead end here.
Hi Dino, I guess the problem with your questions is that they look somewhat like "who wants to debug my module?".
This kind of questions very rarely receive any answer, because they involve quite a lot of work from the part of those wanting to help (e.g. downloading the module, create a test project, copying the super long app.js you provided, start debugging, etc.). So, if you want to receive a relevant answer, my suggestion is to provide a very minimal test case that showcases the problem you're encountering; this would help whoever has enough time & will to lend a hand.
Telling "Code is right 100% because I did a native app..." means nothing, because in Titanium there is a very thick layer at the interface between your JS code and your native module. You should start inspecting where the problem is.
So, the answer is: have you checked out with the debugger what happens? You should start putting breakpoints in your module's code and see why you're not getting the expected results. Keep you test app at a very minimum (e.g even without UI in your case). Build a debug version of the module. Open the Xcode project generated for the app you find in the
build/iphone directory and start debugging.
So, once you've done your homework, we're here to help ;-)
Think you can help? Login to answer this question!