Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with updating when targeting Nougat or higher #66

Merged
merged 5 commits into from
Nov 7, 2017

Conversation

LanceJenkinZA
Copy link
Contributor

This pull request mainly fixes an issue when targeting Nougat.

The authorities section in of the provider tag in plugin.xml was set to "com.vaenow.appupdate.android.provider.${applicationId}". However, in DownloadHandler.java, the plugin was calling com.vaenow.appupdate.android.provider.

I changed plugin.xml.

I also updated the Javascript function to be called without success or error callback functions (to be compatible with ionic-native).

The issue was in `plugin.xml`; it had the android:authorities attribute set to 'com.vaenow.appupdate.android.provider.$(appliction_id}`.

But, in the code in `DownloadHandler.java` the provider was set to `com.vaenow.appupdate.android.provider`.
@vaenow vaenow merged commit 4610c82 into vaenow:master Nov 7, 2017
@vaenow
Copy link
Owner

vaenow commented Nov 7, 2017

#42 #21

@vaenow
Copy link
Owner

vaenow commented Nov 7, 2017

Awsome @LanceJenkinZA 🙂

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

Successfully merging this pull request may close these issues.

None yet

2 participants