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

Calendar gives error when running hasReadWritePermission #184

Closed
mbakker96 opened this issue Jun 1, 2016 · 3 comments
Closed

Calendar gives error when running hasReadWritePermission #184

mbakker96 opened this issue Jun 1, 2016 · 3 comments
Labels

Comments

@mbakker96
Copy link

mbakker96 commented Jun 1, 2016

Hello,

I want to check of the user has read and write permission but when i run it I get a error.

checkCalendarPermission(): void {
    Calendar.hasReadWritePermissions().then((msg) => {console.log(msg)}, (err) => {console.log(err)});
}

It should give true but I get a error that he could not find something when I run it on my Iphone.

@ihadeed ihadeed added the bug label Jun 4, 2016
@mbakker96
Copy link
Author

is this a issue in ionic-native or in the phonecap-calendar plugin?

@ihadeed
Copy link
Collaborator

ihadeed commented Jun 10, 2016

Your scenario seems like it's a problem with the plugin. But to be sure, we have to test the original plugin directly without using the ionic native wrappers.

@ihadeed
Copy link
Collaborator

ihadeed commented Jun 11, 2016

@mbakker96 The issue was from ionic-native. There's an extra s at the end of the function name. It should be hasReadWritePermission(). Will be fixed in next release!

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

No branches or pull requests

2 participants