494 comments found.

cloacking

cloacking Purchased

hi basti can you check email from me i have purchase all karendaria product but still need help because still confused

thanks

reply sent

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’).

FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ’:processDebugResources’. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ’/android-sdk/build-tools/24.0.1/aapt’’ finished with non-zero exit value 1
  • Try: Run with—stacktrace option to get the stack trace. Run with—info or—debug option to get more log output.

BUILD FAILED

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’).

/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.

  • What went wrong: Execution failed for task ’:processDebugResources’. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ’/android-sdk/build-tools/24.0.1/aapt’’ finished with non-zero exit value 1
  • Try: Run with—stacktrace option to get the stack trace. Run with—info or—debug option to get more log output. at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

hi guys

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" >

to

<gap:plugin name="cordova-plugin-googlemaps" source="npm" spec="1.3.9" >

Can you work in the background or blocked phone and send location?

ok mate

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

Basti: 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?

Best Regards

hi mate

i will have to double check on my end or update the app with a background service app

cheers

myonmart

myonmart Purchased

hi basti 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

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

thanks

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

case "getTaskPhoto": $("#list-photos").html(''); break;

add this

case "trackDistance": toastMsg( data.msg ); break;

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

jkillahceo

jkillahceo Purchased

I want to communicate with API via external form. So I can “Add new task” on an external page instead of modal

hi mate

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.

hi mate

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

apriyou12

apriyou12 Purchased

Hi Mate,

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

Thanks

enabled the following in your google project

Google Maps Distance Matrix API
Google Maps Geocoding API
Google Maps JavaScript API
Google Places API Web Service
Google Maps Directions API

and set the api key in settings

jkillahceo

jkillahceo Purchased

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

http://www.yiiframework.com/doc/guide/1.1/en/basics.controller
jkillahceo

jkillahceo Purchased

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 example settings page /driver/index/settings

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 like actionSettings

and you will see the $this->render(‘settings’

it means its showing the template settings

you can find that in views/index/settings.php

jkillahceo

jkillahceo Purchased

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.

jkillahceo

jkillahceo Purchased

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 :(

mrmatt91

mrmatt91 Purchased

Basti, Urgently, make the app run in the background.

hi mate

will do am still looking for a plugin that we can use

flashitnow

flashitnow Purchased

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.

hi mate

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..

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

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

by
by
by
by
by
by