将 React Native 升级到0.62.2并安装react-native-material-dropdown ` 库后,项目出现此错误:
我根据文档安装了react-native-image-picker。当我尝试从手机中选择图像时(按下按钮后),模拟器给了我这个错误 -
null is not an object (evaluating 'ImagePickerManager.showImagePicker')
我的 React Native 版本是 0.59.8
图像选择器的版本是0.28.0
这是代码-
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
Image,
Button
} from 'react-native';
import ImagePicker from "react-native-image-picker";
export default class App extends Component {
state = {
pickedImage: null
}
reset = () => {
this.setState({
pickedImage: null
});
}
pickImageHandler = () => {
ImagePicker.showImagePicker({title: "Pick an Image", maxWidth: 800, maxHeight: 600}, res => {
if (res.didCancel) {
console.log("User …Run Code Online (Sandbox Code Playgroud) 我希望每当我在数字输入字段中以数字XXXXXXXXXX格式输入数字时,就像XXX-XXX-XXXX使用HTML,CSS和javascript一样。
就像此代码段一样,但不使用mask脚本。
$('.phone_us').mask('000-000-0000');Run Code Online (Sandbox Code Playgroud)
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://igorescobar.github.io/jQuery-Mask-Plugin/js/jquery.mask.min.js" type="text/javascript"></script>
<!--mask script-->
<input type="text" class="phone_us" />Run Code Online (Sandbox Code Playgroud)
我试图在 react native 中获取我当前的位置,使用react-native-geolocation获取我所在位置的纬度和经度。现在我想在不使用 Google API 密钥的情况下将它们转换为位置的地址。
有没有办法在不使用 Google API 密钥的情况下将纬度经度转换为地址?
我想在 Oracle 的 SQL 开发人员中一次从我的数据库中删除多个函数。有没有人知道如何为此创建脚本?
react-native ×3
android ×1
database ×1
geolocation ×1
html ×1
javascript ×1
jquery ×1
oracle ×1
plsql ×1
sql ×1