ZebraDevs / DataWedge-Ionic-Demo

Demo Ionic application using Datawedge on Zebra mobile devices
Other
44 stars 21 forks source link

Error running the app in the browser and device in live mode #4

Closed kurtommy closed 5 years ago

kurtommy commented 5 years ago

Hi @darryncampbell

I'm developing an Ionic app for Zebra tc51/56 i've cloned this repo and running

ionic serve or ionic cordova run android --device -l

that make sense in browser (a fallback when the hardware is not detected would be great) but in development mode with the device connected via USB that should work

running only ionic cordova run android --device without the -l flag it works. the profile is present in the DataWedge app.

i'll get this error:

screenshot 2018-11-26 at 15 56 38

Do you have an idea? The device is running Android 6.0.1

darryncampbell commented 5 years ago

Hi, I am currently on PTO but will take a look when I return

kurtommy commented 5 years ago

@darryncampbell do you mind if i ask when you'll be back or if i can get help from another Zebra dev? we are working for a major worldwide fashion brand in a new integration for their logistic system we'd like to develop a ionic app instead of native but with this error is very hard (impossible) to test the DataWedge while developing

thanks a lot

EddieCorreia commented 5 years ago

Hi Tommaso-

Thank you for contacting Zebra.

I suggest that you submit your question to the DataWedge community forum:

https://developer.zebra.com/community/home/discussions/datawedge

Best regards, Eddie Correia Enterprise Mobile Computing Techdocs, Tools and Community ZEBRA TECHNOLOGIES CORPORATION edward.correia@zebra.com techdocs.zebra.com www.zebra.com


From: Tommaso Rossi [notifications@github.com] Sent: Monday, November 26, 2018 10:00 AM To: Zebra/ZebraIonicDemo Cc: Subscribed Subject: [Zebra/ZebraIonicDemo] Error running the app in the browser and device in live mode (#4)

[External Email]

Hi,

I'm developing an Ionic app for Zebra tc51/56 i've cloned this repo and running

ionic serve or ionic cordova run android --device -l

running only ionic cordova run android --device without the -l flag it works. the profile is present in the DataWedge app.

i'll get this error:

[screenshot 2018-11-26 at 15 56 38]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_2192625_49022033-2D34e9ee00-2Df194-2D11e8-2D9cbc-2Df34378d18730.png&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=xNkexWibxcuJ9g3gVMYoPw0eXymKCUldEUn7Esjf8PA&m=1nz9c2j09MGtL-bYOqzmzfiI1klguIuUN7K2aqMP5Ak&s=vrngymZf_mCALE1EZLJ5sgoS5GYD-xD_1hkQ2dVZ1LI&e=

Do you have an idea? The device is running Android 6.0.1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Zebra_ZebraIonicDemo_issues_4&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=xNkexWibxcuJ9g3gVMYoPw0eXymKCUldEUn7Esjf8PA&m=1nz9c2j09MGtL-bYOqzmzfiI1klguIuUN7K2aqMP5Ak&s=q0Im7AT1NdASJtj1PZtJq55jZ2QDJGAWnVyE5eo5Cug&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALZQpfh9FvAX6nrKtFWltyY86hnDyZE5ks5uzAIdgaJpZM4YzM3s&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltQ&r=xNkexWibxcuJ9g3gVMYoPw0eXymKCUldEUn7Esjf8PA&m=1nz9c2j09MGtL-bYOqzmzfiI1klguIuUN7K2aqMP5Ak&s=29q6O3KAcbh2zzUFr_apXrqzee9wOwEqcoeaKVBd31U&e=.


This email and any files transmitted with it are confidential, and may also be legally privileged. If you are not the intended recipient, you may not review, use, copy, or distribute this message. If you receive this email in error, please notify the sender immediately by reply email and then delete this email.

darryncampbell commented 5 years ago

Hi, the application depends on a plugin. I don't believe it is possible to use a custom plugin with Ionic serve. Running with -livereload is more interesting, I see other posts about this as a more general issue (e.g. this one: https://github.com/ionic-team/ionic-app-scripts/issues/1354), if so, I do not think it would be an issue with this plugin.