Closed dwirandytlvk closed 2 years ago
@dwirandytlvk You can defer Braze init safely, however, there is a big caveat - for push, the Braze delegate methods you need to implement in your UserNotifications framework delegates require a valid Braze instance to work (the stuff in https://www.braze.com/docs/developer_guide/platform_integration_guides/ios/push_notifications/integration/#step-5-enable-push-handling). You will need to ensure that your strategy synchronously creates a Braze instance before you call any Braze push delegates
Hi Braze Team
I try to decrease my app launch time by defer
braze
setup, i create a array of closure that hold all method that is called during launch time, such as init app boy, track event etcis it safe to defer braze initialization until app launch process finish by using this approach
cc: @hokstuff @lowip