proyecto26 / react-native-inappbrowser

📱InAppBrowser for React Native (Android & iOS) 🤘
https://www.npmjs.com/package/react-native-inappbrowser-reborn
MIT License
1.31k stars 223 forks source link

Header not working for android #316

Closed tiennv-0883 closed 2 years ago

tiennv-0883 commented 2 years ago

Make sure to check the demo app(s) for sample usage

But I don't get it

Ảnh chụp Màn hình 2021-12-11 lúc 13 22 49

Please help me .

tiennv-0883 commented 2 years ago

I have looked into the root cause. Hope to get a reply as soon as possible. https://developer.chrome.com/docs/android/custom-tabs/headers/#set_up_a_custom_tabs_connection_to_validate_the_asset_link

jdnichollsc commented 2 years ago

I have looked into the root cause. Hope to get a reply as soon as possible. https://developer.chrome.com/docs/android/custom-tabs/headers/#set_up_a_custom_tabs_connection_to_validate_the_asset_link

We're already using EXTRA_HEADERS or what do you mean? 🤔

jdnichollsc commented 2 years ago

I have looked into the root cause. Hope to get a reply as soon as possible. https://developer.chrome.com/docs/android/custom-tabs/headers/#set_up_a_custom_tabs_connection_to_validate_the_asset_link

I didn't understand, maybe you shared a wrong link

jdnichollsc commented 2 years ago

Ok, Chrome removed the support of custom headers, check here for more details

jdnichollsc commented 2 years ago

Nevermind, it looks like you can create digital asset links to support that https://developer.chrome.com/docs/android/custom-tabs/headers/

Please try and let me know!