We change our implementation to a extension like approach taking inspiration on this repo
The were a few reasons:
- Delegate approach using
BugleDelegate
was limited and could lead to unexpected behavior. - We were forcing the developer to define a set of default options at the
AppDelegate
. - Customization was limited to the options array and the available
play
methods inside theBugle
class definition. - We were not supporting
action sheets
style for alerts.
Major API changes:
- Remove the following files:
BuglePiece
,BugleType
,Bugle+Ext
andBugle+Merge
- Unify all the API inside a single file called
Bugle