Native alerts and confirm boxes for cordova and a carefully styled browser version (blaze).
import { notification } from 'flowkey:notification';
notification.alert({
message: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.',
title: 'This is a test Message',
buttonLabel: 'Nice',
callback: function(){}
});notification.confirm({
message: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.',
title: 'This is a test Message',
callback: function(index){}, // index(String) conforms with the buttonLabels index counting from 1 - same for ios
buttonLabels: ['Ok', 'Not now']
});- Safari To style correctly in safari any of the parents in the dom should have 'safari' as a class, no browser detection implemented inside this package