From abe4085d34b9d736be9757bd335f04cc17ea7ac4 Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Tue, 17 Nov 2020 16:20:15 +0000 Subject: [PATCH 1/6] adding a basic test with the webpage to ensure everything will still work --- example/App.tsx | 14 ++++++++++++++ example/examples/NativeWebpage.tsx | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 example/examples/NativeWebpage.tsx diff --git a/example/App.tsx b/example/App.tsx index d269439d6..b2d563465 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -18,6 +18,7 @@ import Uploads from './examples/Uploads'; import Injection from './examples/Injection'; import LocalPageLoad from './examples/LocalPageLoad'; import Messaging from './examples/Messaging'; +import NativeWebpage from './examples/NativeWebpage'; const TESTS = { Messaging: { @@ -84,6 +85,14 @@ const TESTS = { return ; }, }, + NativeWebpage: { + title: 'NativeWebpage', + testId: 'NativeWebpage', + description: 'Test to open a new webview with a link', + render() { + return ; + }, + }, }; type Props = {}; @@ -166,6 +175,11 @@ export default class App extends Component { title="Messaging" onPress={() => this._changeTest('Messaging')} /> +