上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 88 下一页
摘要: Index.js: import React from 'react' import { ScrollView, View, TouchableWithoutFeedback, Text, Image, } from 'react-native' import { WebView } from 'r 阅读全文
posted @ 2023-07-28 16:58 徐同保 阅读(14) 评论(0) 推荐(0) 编辑
摘要: app.json: https://docs.expo.dev/versions/latest/sdk/imagepicker/ { "expo": { "plugins": [ [ "expo-image-picker", { "photosPermission": "The app access 阅读全文
posted @ 2023-07-28 15:47 徐同保 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 在RN版本0.46版本的时候添加了ImageBackground控件。ImageBackground可以设置背景图片,使用方法和image一样,里面嵌套了其他的组件 import React from "react"; import { ImageBackground, StyleSheet, Te 阅读全文
posted @ 2023-07-27 10:16 徐同保 阅读(7) 评论(0) 推荐(0) 编辑
摘要: <TextInput keyboardType="numeric"/> keyboardType 决定弹出何种软键盘类型,譬如numeric(纯数字键盘)。 See screenshots of all the types here. 这些值在所有平台都可用: defaultnumber-padde 阅读全文
posted @ 2023-07-27 10:13 徐同保 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 解决方案一: 因为chrome inspect需要加载 https://chrome-devtools-frontend.appspot.com 上的资源,所以需要FQ。 GoogleChrome/ADBPlugin#14 解决方案二: 编辑hosts文件,添加: 61.91.161.217 chr 阅读全文
posted @ 2023-07-24 15:34 徐同保 阅读(6) 评论(0) 推荐(0) 编辑
摘要: An asynchronous, unencrypted, persistent, key-value storage system for React Native. Async Storage 只能用来储存字符串数据,所以为了去储存object类型的数据,得先进行序列化(JSON.stringi 阅读全文
posted @ 2023-07-24 11:11 徐同保 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 下载并安装ffmpeg http://ffmpeg.org/download.html?aemtn=tg-on https://www.gyan.dev/ffmpeg/builds/ 配置环境变量: 查询版本 装包: yarn add fluent-ffmpeg const ffmpeg = req 阅读全文
posted @ 2023-07-15 20:44 徐同保 阅读(7) 评论(0) 推荐(0) 编辑
摘要: # 301重定向, 访问http跳转到https server { listen 80; server_name chat.xutongbao.top; return 301 https://chat.xutongbao.top; } server { listen 443 ssl; server_ 阅读全文
posted @ 2023-07-15 17:16 徐同保 阅读(4) 评论(0) 推荐(0) 编辑
摘要: nginx: server { #SSL 默认访问端口号为 443 listen 443 ssl; server_name gpt.xutongbao.top; ssl_certificate /temp/ssl/gpt.xutongbao.top/gpt.xutongbao.top.crt; # 阅读全文
posted @ 2023-07-15 14:01 徐同保 阅读(7) 评论(0) 推荐(0) 编辑
摘要: const http = require('http') const https = require('https') let urlCdn = "https://baidu.com" let urlObj = new URL(urlCdn) const client = urlObj.protoc 阅读全文
posted @ 2023-07-13 09:42 徐同保 阅读(22) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 88 下一页