SDK DocsReact Native SDKLifecycle ManagementOn this pageLifecycle Management Manual Flush B2Metric.logEvent('purchase_completed', { properties: { order_id: 'ord_789' },})await B2Metric.flush() Shutdown await B2Metric.destroy() After destroy(), the SDK can be re-initialized with init().