darryncampbell / darryncampbell-cordova-plugin-intent

General purpose intent shim layer for cordova appliations on Android. Handles various techniques for sending and receiving intents.
MIT License
86 stars 134 forks source link

Importing a Datawedge Profile #70

Closed dbowmanDT closed 5 years ago

dbowmanDT commented 5 years ago

My clients find the configuring of each device (of which there are many) to listen to my app. I notice there is a way to export a profile. Is there a way to import a profile using this plugin so that I can have my app import the profile. Then my users can just install my app and it is already setup to read barcodes?

darryncampbell commented 5 years ago

No but you could copy the profile to the auto-import directory (http://techdocs.zebra.com/datawedge/latest/guide/settings/#autoimport). I wrote a community post on the subject (https://developer.zebra.com/community/home/blog/2018/08/10/mass-deploy-datawedge-profiles-with-auto-import) and there is a test app in Android & Xamarin (https://github.com/darryncampbell/DataWedgeAutoImport). You should be able to achieve the same result using the Cordova file transfer plugin. Just make sure the file permissions are set correctly, e.g. the sample app checks that here: https://github.com/darryncampbell/DataWedgeAutoImport/blob/master/Android/app/src/main/java/com/darryncampbell/datawedgeautoimport/MainActivity.java#L81

darryncampbell commented 5 years ago

Presume resolved