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

CreateEvent returns true instead of ID #533

Open
Fir3st opened this issue Jul 10, 2020 · 0 comments
Open

CreateEvent returns true instead of ID #533

Fir3st opened this issue Jul 10, 2020 · 0 comments

Comments

@Fir3st
Copy link

Fir3st commented Jul 10, 2020

Platform: Android
Version: 10

Hi,

I'm trying to create events in a loop and then save their IDs. The problem is plugin sometimes returns true instead of the event's ID. I tried @ionic-native/calendar wrapper, I tried native-calender-api, I tried to make my own callback async wrapper (with promise), but the behavior is the same all the time. With logging, I've found that the plugin's response is printed after my log in the app, so I assume this is the problem (the event is created after the callback is sent), but how could I prevent that?

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

No branches or pull requests

1 participant