react-native-image-viewing 安装与使用 npm yarn 约束与限制 兼容性 属性 遗留问题 其他 开源协议模板版本:v0.2.2 react-native-image-viewing [!TIP] Github 地址 安装与使用 请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-oh-tpl/react-native-image-viewing Releases,并下载适用版本的 ...
yarn add @react-native-oh-tpl/react-native-image-viewing@file:# 快速使用: import React, { useState } from "react"; import { Alert, Platform, SafeAreaView, StatusBar, StyleSheet, Text, View, Image, ScrollView, TouchableOpacity } from "react-native"; import memoize from "lodash/memoize";...
npm install --save react-native-image-viewing Usage importImageViewfrom"react-native-image-viewing";constimages=[{uri:"https://images.unsplash.com/photo-1571501679680-de32f1e7aad4",},{uri:"https://images.unsplash.com/photo-1573273787173-0eb81a833b34",},{uri:"https://images.unsplash.com/pho...
Summary test: 修改react-native-image-viewing测试demo Checklist 已经在真机设备或模拟器上测试通过 已经与 Android 或 iOS 平台做过效果/功能对比 已经添加了对应 API 的测试用例 更新了 JS/TS 代码
RN 0.57.x Bundled large images have low quality when viewing using <Image/> component with 1:1 AR on Android Environment React Native Environment Info: System: OS: macOS High Sierra 10.13.6 CPU: x64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz...