File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed 
packages/stripe_android/android/src/main/kotlin/com/reactnativestripesdk Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ class PaymentSheetFragment : Fragment() {
113113      ) else  null 
114114    )
115115
116+     //  Call ON_FRAGMENT_CREATED before ON_INIT_PAYMENT_SHEET
117+     val  intent =  Intent (ON_FRAGMENT_CREATED )
118+     localBroadcastManager.sendBroadcast(intent)
119+ 
116120    if  (arguments?.getBoolean(" customFlow" ==  true ) {
117121      flowController =  PaymentSheet .FlowController .create(this , paymentOptionCallback, paymentResultCallback)
118122      configureFlowController()
@@ -122,8 +126,6 @@ class PaymentSheetFragment : Fragment() {
122126      localBroadcastManager.sendBroadcast(intent)
123127    }
124128
125-     val  intent =  Intent (ON_FRAGMENT_CREATED )
126-     localBroadcastManager.sendBroadcast(intent)
127129  }
128130
129131  fun  present () {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments