上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 88 下一页
摘要: import React from 'react' import { createNativeStackNavigator } from '@react-navigation/native-stack' import { getRouter } from './config' import { Er 阅读全文
posted @ 2023-08-21 17:02 徐同保 阅读(31) 评论(0) 推荐(0) 编辑
摘要: yarn add react-native-vdebug import React from 'react' import { createNativeStackNavigator } from '@react-navigation/native-stack' import { getRouter 阅读全文
posted @ 2023-08-21 14:18 徐同保 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://chat.xutongbao.top/ 阅读全文
posted @ 2023-08-21 12:25 徐同保 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://expo.dev/accounts/xutongbao/projects npm install --global eas-cli && \eas init --id e32cf2c0-da5b-4a65-814a-4958d58f0ca7 eas init --id e32cf2c 阅读全文
posted @ 2023-08-17 14:07 徐同保 阅读(23) 评论(0) 推荐(0) 编辑
摘要: import React from 'react' import ReactDOM from 'react-dom/client' import { Provider } from 'react-redux' import { HashRouter } from 'react-router-dom' 阅读全文
posted @ 2023-08-15 17:39 徐同保 阅读(54) 评论(0) 推荐(0) 编辑
摘要: chatgpt: https://chat.xutongbao.top/ /* 监听rn消息 */ const eventListener = nativeEvent => { //解析数据actionType、extra const {actionType, extra} = nativeEven 阅读全文
posted @ 2023-08-15 17:35 徐同保 阅读(48) 评论(0) 推荐(0) 编辑
摘要: rn登录后得到的token需要传递给网页,js获取到的浏览器信息需要传递给rn RN Index.js: import React from 'react' import { WebView } from 'react-native-webview' import useList from './u 阅读全文
posted @ 2023-08-15 14:05 徐同保 阅读(55) 评论(0) 推荐(0) 编辑
摘要: const handleWechatQRCodeHeight = () => { const { wechatQRCode } = getAdminInfo() Image.getSize(wechatQRCode, (width, height) => { let wechatQRCodeHeig 阅读全文
posted @ 2023-08-14 14:56 徐同保 阅读(56) 评论(0) 推荐(0) 编辑
摘要: import { StyleSheet } from 'react-native' const styles = StyleSheet.create({ mExchangeCopyText: {fontWeight: 'bold', color: '#1677ff', textDecorationL 阅读全文
posted @ 2023-08-14 14:02 徐同保 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 装包: npx expo install expo-clipboard import * as Clipboard from 'expo-clipboard' const handleCopy = async (text) => { await Clipboard.setStringAsync(te 阅读全文
posted @ 2023-08-14 14:00 徐同保 阅读(15) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 88 下一页