import { WebView } from 'react-native-webview'; import React, { PureComponent } from 'react'; import { Animated, Keyboard, SafeAreaView, TextInput, TouchableHighlight, TouchableOpacity, View, // Text, } from 'react-native'; import {Text} as Text2 from 'react-native'; import { Header, LoadingIndicator, Text } from '../react/features/base/react'; type Props = {} class Wview_v1 extends PureComponent { constructor(props) { super(props); this.v1="a" clog("Wview_v1 init") } componentDidMount() { setInterval(() => { this.setState(() => { // console.log('setting state'); var wv0_dev = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("wv0_dev",{that:this},{}) : {} // return { unseen: "does not display" } return { unseen: wv0_dev.ret } }); }, 1000); } render() { var wb_url clog("Wview_v1 render") // console.log("wview_v1 render.") if (glob_vhook?.fns?.gen_xcal_room3) { wb_url = glob_vhook.fns.gen_xcal_room3().room_url } else { // wb_url = "https://excalidraw.videocorners.com/#room=4zmaf7d5jtcx4pqgruba,4zmaf7BMXbI6tCEiW7rbgy" wb_url = "https://excalidraw.videocorners.com/#room=4zxcald5jtcx4pqgruba,4zxcalBMXbI6tCEiW7rbgy" } var webview_style = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("webview_style",{that:this},{}) : {} var wv0_styles = window.glob_vhook.fns.glob_dev_fncb ? window.glob_vhook.fns.glob_dev_fncb("wv0_styles",{that:this},{}) : {} // var wv0_styles_dev = this.wv0_styles_dev || {} // // style = {webview_style} // Z ) } } export {Wview_v1}