Commit e42a418
committed
feat: Enhance payment event emission and handling
- Updated `emitPaymentEvent` in `PlugpagEventEmitter.kt` to include a custom message parameter for better event logging.
- Refactored `App.tsx` to utilize the new event emission structure, displaying real-time payment event updates.
- Removed deprecated `doPaymentWithEvents` function and integrated its functionality into the standard `doPayment` method.
- Simplified payment flow management by eliminating the `usePaymentFlow` hook.
- Added a new function `generatePixQRCode` for generating PIX QR codes.
- Cleaned up unused styles and components in the UI for better readability and performance.1 parent 3606b27 commit e42a418
5 files changed
Lines changed: 450 additions & 1214 deletions
File tree
- android/src/main/java/com/margelo/nitro/plugpagnitro
- example/src
- src
0 commit comments