can you check email from me
i have purchase all karendaria product but still need help because still confused
I have an error compiling with phonegap, in the log file shows
:processDebugResources/project/res/xml/authenticator.xml:5:19-31: AAPT: No resource found that matches the given name (at ‘icon’ with value ’@mipmap/icon’).
/project/res/xml/authenticator.xml:6:24-36: AAPT: No resource found that matches the given name (at ‘smallIcon’ with value ’@mipmap/icon’).
FAILURE: Build failed with an exception.
Total time: 2.69 secs
Error: /project/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/project/res/xml/authenticator.xml:5:19-31: AAPT: No resource found that matches the given name (at ‘icon’ with value ’@mipmap/icon’).
anyone encountering issue today when compiling to build.phonegap
Oh geez. Your build failed. Click the “Log” button above to view the compile log. If you need help diagnosing the issue, you can post to the support forum with your App ID (please do a search first).
this issue is the google maps plugin its just happen today
in your config.xml
change the line
<gap:plugin name="cordova-plugin-googlemaps" source="npm" >
<gap:plugin name="cordova-plugin-googlemaps" source="npm" spec="1.3.9" >
Can you work in the background or blocked phone and send location?
sorry what do you mean?
When leaving the application continue working the GPS sending the location
ah ok what android you are using? i mean what version?
We are working with version 5.0.2, 5.1 and 6.0.2
i am using that 2 version as well but its working on my end
even the app is not active
but running on the background
make sure the app is running not totally close
am still searching for plugins that will work in the background
When we have open the driver app in the foreground. The app and location works correctly and the driver panel indicates the driver online,
but when we minimize the app or open whatsapp or facebook, after a few minutes the location icon disappears from the cell phone and the driver panel indicates that the Driver is off line.
When we access again the Driver app. The app shows the screen of loading configurations and logging in. We are sure not to close the Driver app, we just minimize or open another app. This happens also when we lock the cellphone.
If I minimize the application and after 2 or 3 seconds we re-access the app accesses directly to the task dashboard and the login and loading configuration does not appear and everything works normally.
what can we do? We don`t know if this is working normally,
we check the cellphone configuration and everything is ok, the wifi works with the cellphone locked.
or we must have open the driver app always in the foreground?
i will have to double check on my end or update the app with a background service app
how are you mate !
having problem when task is assigned to driver and after he accepts the order and clicks on the destination address where he have to drop the package the maps is not showing up there.
kindly assist to resolve the problem.
thanks and regards
here are the screenshot of the situation http://imgur.com/JRuumpC http://imgur.com/TSyYrCr
also sent y some details in email kindly follow up
did you set api key in your config.xml
and make sure you enabled the following api key
Google Maps Android API
Google Maps SDK for iOS
you can create a key and enabled those in https://developers.google.com/
yes it works thanks
but now i have another problem
here it is http://imgur.com/mV4Miy1
and the dialogue title is stucked at foreground even i am unable to do any further action
also sent push notifications but that didn’t work correctly http://imgur.com/6gSc14p
invalid push from server that means your push sender id and push api key is not correct
you need to create the api key here http://developer.google.com/mobile/add
the project number goes to www/js/config.js example id = 48360342
the api key example AIzaSyBFQ9ErCsZgTvGbMC4mIBtS-HhZ9Jf
goes to driver panel -> settings -> Push Android Key
for the stuck message it needs some changes in driver app files
open the file www/js/app.js
look for functions callAjax
after the line
toastMsg( data.msg );
Is there a way to connect to the API so that the merchant can add a new task via an external site. For example if they go on www.12345.com/request , it would have the “Add New Task” form, which will automatically add the task to admin driver panel. I want people to be able to request manual deliveries via external form – while still connecting to API. Can you let me know how to do this , or lead me in the right direction so I can put this together. Thank you basti
so basically, is there a way to access the API externally & separate the “Add New Task” page as it’s own page
I want to communicate with API via external form. So I can “Add new task” on an external page instead of modal
you can do that by creating api
its very simple if you know how to code
you can add your own api code in modules/driver/controller/apicontroller.php
Drivers go offline even when they are on the app. I had a driver press “Start” on an order, it went through and started the order, but it says the driver is offline. All drivers end up going offline after they are inactive. But they are still on duty & visibly doing deliveries. The app is open & it still shows they’re offline, even when they are working & managing the status of the delivery.
first check your server timezone in
admin -> settings -> Time Zone
If admin selects “Add New Task” and manually enters a delivery – Pickup Location is at “Restaurant A” , is it possible that the Pickup Restaurant can see the delivery in their backend? The driver is set to pickup delivery from “Restaurant A”, I want “Restaurant A” to see delivery history for their restaurant.
am not sure what is the logic of this one
but am sure that every orders the merchant is notified that means they know there is new order coming
I have problem in driver panel since the new change of googlemaps,
sometimes everything become blank, i mean blank = couldn’t read data (can not make a task,and seems like cannot read database) and maps didn’t show up.
Please help mate, push and auto assign 100% fine
enabled the following in your google project
Google Maps Distance Matrix API
Google Maps Geocoding API
Google Places API Web Service
Google Maps Directions API
and set the api key in settings
How do I get the “Add New Task” as individual page, not modal
you will need to create a controller action for that mate
and create a view files
you will need to be familiar with yii controller and views
Okay I will look into the, can you give me an example on how to start , I’m lost
actually looking at the code you will have idea
index = is the controller
settings = is action
open the file driver/controller/indexcontroller.php
and look for actionSettings()
every action needs to have action in the function
and you will see the $this->render(‘settings’
it means its showing the template settings
you can find that in views/index/settings.php
I want to Duplicate the “Add New Task” page – and remove some fields on the form. For example they press the “Request Driver” button & it opens a new page where they can enter the Customer Name, Address, Phone # , select their restaurant & it will add as new task.
your welcome to modify the code mate
you can find that all in views/index
I tried but it isn’t working. Can you give me example or lead me in the right direction so I can duplicate add new task page
sorry mate i cannot give you the exact code since i never done that
you can find all the files in views/index
take note this is not for non developers
Urgently, make the app run in the background.
will do am still looking for a plugin that we can use
hi basti, i haven’t researched this, but wonder if phonegap can create an task menu icon (very top of the device) I have noticed Glimpse gps tracking app does this, when the app is placed in the background.
hmm going to actually test something – im going to send a push message through the app to my device. I wonder with the push notification icon (which is for the app) that will show up in the top menu, would make any difference.
my old android phones I had no issue with the app running in the background, just got a new phone that is running Android version 5.1 – the app stops updating if the screen is off, and/or the app is not in the forground.
yeah am searching about a plugin that can do that
we cannot use the push send you will need to send push every minute to the phone that would not be ideal
that’s weird cause it should be working in latest android rather than old
the plugins seem to no longer work, I pulled out my old phone, i had to reinstall the app, this app use to work fine in background on this old phone.. Not now,
I am actually doing lots of research and attempting to build new version of the app to test… but im having issues with phonegap builder, just doesn’t seem to upload my files, said its uploading but just sits there..
hmm there is no changes in the code for that
maybe try setting the old version of the plugin
<gap:plugin name="cordova-plugin-geolocation" source="npm" spec="2.4.0" />
as the latest version is release in december maybe this update has bugs
i just build an app using <gap:plugin name=”cordova-plugin-geolocation” source=”npm” spec=”2.4.0” /> as mentioned. it does tell me that this plugin is depreceated, but still built that app, installing on my phone now.
the 2.4.0 version you mentioned above, seems to be working for me, i am still testing it out. but so far looks good.
i read couple comments were they say there drivers are always logged out, most likely the reason is because they just logged into the app but no movement. I believe the plugin timeouts when several updates are the same information as previous update.
ok mate let me know your findings if the version 2.4.0 is working properly so i can post this as quick fixed
i have tested it on both phones, both seem to be working okay. however on my newer phone, if the app is running in background it didnt look as if it was sending updates, when the app is in the foreground and the phone goes to sleep, it is updating. but just put the app in the background and phone to sleep to test it once more just to be sure… will publish the outcome in my next book.
thanks for the confirmation mate cheers
after 5 minutes.. no update so if in the background it dont update, I also noticed in the dashboard after 3 minutes i went offline. *i think the timeout code shouldn’t make the record set as not ready, because when the phones internet is back the drivers has no way of knowing they been set to not ready.
i think the best way is to make the driver still be online all the time
if they login to the app they will be online
it will only says last seen or last login 5minuts ago
the only time the driver will be offline is when they signout or set to offduty
so i installed an older version of my build, on my old phone that works in background.. doesnt on my new phone ;( http://mysticnow.com/m/a
can take a look at my real – time tracking page, it shows the seconds since last update
i replied in your same question there is no changes for the code for getting the location
btw what version of your new phone? 5 or 6?
mine is 5 and its working fine
would you be willing to download my app and test on your phone. if you give me link for your app i will do the same?
I also think the issue could depend on carrier. when I had verizon my phone would update my location every couple seconds.. my new carrier Sprint.. i notice if I actually do not move around several feet between updates, it wont update until my location has changed.
its like this if you change your screen to another app sometimes driverapp is totally close
and sometimes it does not
yes I have noticed that as well.
now that is the problem if the app is totally close there is no way the app will work in the background
am not sure if there is a settings in the your device to make the app always run as background
anyways am looking for a plugin that will work in the background even the app is close
can phonegap apps run services?
am not sure yet am still looking for a plugin
hey basti still online, take a look at my page now, i rebooted my phone and then launched the app. on my page its all real time.. no delay *honestly not even a second.. okay maybe 1/2 second look at bottom left corner my location details. http://mysticnow.com/m/a
there is still an issue with the plugin, as I am doing some extensive testing, the plugin isn’t actually activating googles location service each time it requests the location.
it will only ask once if your gps is not enabled
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Why buy with Envato
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.