Alex Gibson
Alex Gibson
Why not just call `close` on the notification you've created? Why would you want to trigger a click if the user has not done so?
You an create a new Notify instance for each notification, but if you want to create multiple notifications from the same instance then this is not currently possible.
You would probably need to write your code to associate each instance with an ID/tag. Alternatively you are welcome to submit a pull request to add functionality.
See https://developer.apple.com/documentation/safari_release_notes/safari_13_release_notes#3314664 And https://dev.to/li/how-to-requestpermission-for-devicemotion-and-deviceorientation-events-in-ios-13-46g2
If yourself or anyone else can find a reliable way to do this pull requests are welcome
Whatever works for you - the default of 15 works for most mobile device sizes. You may need to adjust it for larger / heavier devices to be more vigorous.
This is indeed on my road-map. I plan to remove the shake custom event, and simply allow folks to pass their callbacks on instantiation.
> Will the request full screen from the API work with the shake event ? This isn't really related to this issue. Not quite sure I understand your question, but...
> I tried the proximity api to execute fullscreen , it did not happen What does that have to do with this plugin?
As far as I understand that's a limitation of the full screen API, not this plugin. Shake is a custom event, so not necessarily the same as a native click....