ユーザ用ツール

サイト用ツール


サイドバー

reactnative:エラー

以前のリビジョンの文書です


エラー

[Unhandled promise rejection: Error: The callback provided as parameter 1 is not a function.]

コールバックでtxを参照していないためのエラー。

db.transaction(console.log("callback"), console.log("error"), console.log("success"))
   ↓
db.transaction((tx)=>{console.log("callback")}, console.log("error"), console.log("success"))

TypeError: this state setState undefied

おそらくバインドの問題。bindをするか⇒で書く。

Accessing view manager configs directly off UIManager via UIManager

blob:http://localhos…6-9c681da2d1b3:3574 Accessing view manager configs directly off UIManager via UIManager['AIRMapLite'] is no longer supported. Use UIManager.getViewManagerConfig('AIRMapLite') instead.

警告を非表示にする

How to solved UIManager['AIRMapLite'] is no longer supported. (White Screen with white Logo)

import {YellowBox} from 'react-native';

render() {
  YellowBox.ignoreWarnings(['Warning: ...']);  // <- insert the warning text here you wish to hide. 
  return (
    //cool ui stuff
  );
}
reactnative/エラー.1553919861.txt.gz · 最終更新: 2019/03/30 13:24 by ips