0

I want to close CustomTabs automatically. I have added sagepay gateway in CustomTabs, its working properly but on success page its return array. I want to get that array back into app and CustomTabs would be closed. how can i get that array into app back as a response from the url that is opened in custom tabs. code for custom tab :-

url = 'https://www.example.com/newsagepay/newtest.php?&customerSage='+isuerID+'&checkSage=1';

CustomTabs.openURL(url,{ toolbarColor: '#607D8B',enableUrlBarHiding: true, showPageTitle: true, enableDefaultShare: true, 
animations: ANIMATIONS_SLIDE}).then((launched: boolean) => {                                                        
    console.log(`Launched custom tabs: ${launched}`);
}).catch(err => {
    console.error(err)
}); 
Sarantis Tofas
  • 5,097
  • 1
  • 23
  • 36
Ranjeet singh
  • 794
  • 1
  • 16
  • 38

0 Answers0