Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

App not installing. #79

Open
delanick opened this issue Sep 5, 2017 · 11 comments
Open

App not installing. #79

delanick opened this issue Sep 5, 2017 · 11 comments

Comments

@delanick
Copy link

delanick commented Sep 5, 2017

Is there a specific reason an app won't install on Android (only tested Android) with Ace being used? My app is not installing and I've never had issues before...

@bil-ash
Copy link

bil-ash commented Nov 17, 2017

I installed an app with the ace plugin(and some other plugins) just now and it works fine.

@delanick
Copy link
Author

@bil-ash is there any chance I could ask you to share your source code with me, privately if need be, just so I can see how you did it? Did you compile the XAML first in Windows before building the Cordova app(s)? I really could use some help as I'm not a dev by trade, I'm fairly amateur. PLEASE :)

@bil-ash
Copy link

bil-ash commented Nov 17, 2017

Even i am amateur. I did not use XAML for building the ui, I am just using the plugin for accessing android apis.

@delanick
Copy link
Author

Could you please share your source code with me so I can see how it was done?

@bil-ash
Copy link

bil-ash commented Nov 23, 2017

I did not get the point of showing you the code. Try the built-in vibrator example,works fine for me. If you need native ui,you will have to add some preference in the config.xml(see the examples)

@delanick
Copy link
Author

Call me daft, but not finding that example. I don't even know how to implement the examples, which is why I'm asking for code, so I can see real working example.

@bil-ash
Copy link

bil-ash commented Nov 24, 2017

@delanick There's no reason for the app to not install,even if the plugin cannot be used. Regarding the working example-

  • Create a cordova project
  • Add the android platform and ace plugin
  • Add a button to your index.html
  • Head over to http://microsoft.github.com/ace ,copy the example of android vibrator paste it as a the body of a function named vib()
  • Add an event listener to the click event of the button in step 3 and assign the vib function to it
  • Compile and run the app

I am using it in vanilla cordova,it might not work with phonegap or ionic

@delanick
Copy link
Author

delanick commented Nov 26, 2017

@bil-ash Will give it a try, thanks! Although what you describe is just a Cordova app using Cordova features, no native UI from Ace...? Native button etc..?

@bil-ash
Copy link

bil-ash commented Nov 27, 2017

Oh common, i already mentioned in the 2nd comment that i am not using the plugin for native ui,just for native api

@delanick
Copy link
Author

Wow, ok, easy there.... it's possible I could've missed that...

This conversation doesn't help me then, at all, as the plug in failed when installing the app when I used native UI. But never mind, I seem to have found the problem...

@hiepxanh
Copy link

wew, can you close your issue ? @delanick de

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants