万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    ReactNative

    ReactNativeのキッチンシンク

    RequiresTutorialRoute では hasSeenTutorial を見ている。 しかし、ストアでは sawTutorial デタラメだなぁ・・。。

    ReactNativeのAsyncStorageの使い方

    AsyncStorageはデータを永続化するためのもの。 TypeScriptにて使用してます。 メソッドやstateなどの定義定義 インポートする。 import { AsyncStorage } from "react-native" stateの定義 今回扱う変数をstateで行うのでstateを定義します。 myStateの名前…

    ReactNativeで見つかった変なエラー Androidビルド

    これでる。 A problem occurred evaluating project ':app'. > SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. React Native android build failed. SDK location not …

    ReactNativeでrequireがない

    急にrequireがないと言われる。 画像とかがでない。あとヘッダのバックとか yarn add @types/node --dev

    ReactNativeのエラー「Unable to resolve module `./../../react-transform-hmr/lib/index.js`」

    Unable to resolve module `./../../react-transform-hmr/lib/index.js` がシミュレータのエラーで出る。 https://stackoverflow.com/questions/52659866/unable-to-resolve-module-react-transform-hmr-lib-index-js 僕は"react": "^16.5.2"``0.57なので関…

    ReactNativeでiOSのビルドをするとNo bundle url presentエラー

    No bundle url presentのエラー。 https://github.com/facebook/react-native/issues/12754 ios/Info.plistに。 <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> <key>NSAllowsArbitraryLoadsInWebContent</key> <true/> <key>NSAllowsLocalNetworking</key> <true/> </dict> </key>

    ReactNativeのiOSでのスプラッシュの文字

    iOSでのスプラッシュの文字 app.jsonの"displayName": "hoge"ではなさそう。 これは何に使う? ホームも反映されなかった。 ios/プロジェクト名/Base.lproj/LaunchScreen.xib こっちはスプラッシュ。 Androidでは別ファイルと思う。

    ReactNativeでiOSのリリースのビルドでエラー

    undefined is not a function (near '...babelHelpers.applyDecoratedDescriptor...') &lt;unknown&gt; main.jsbundle:112024:60 loadModuleImplementation main.jsbundle:180:14 &lt;unknown&gt; main.jsbundle:73667:70 loadModuleImplementation main.jsb…

    ReactNative Admobの Info.plist の警告

    <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnab</appmeasurement>…

    ReactNativeのアイコン設定

    【iOS】React Nativeのアプリにアイコンを設定する方法 | YuiTech 「アプリ名.xcworkspace」の白いアイコンの方で起動 この手順

    ReactNativeでRNVectorIconsManagerのエラー

    RNVectorIconsManager.m:95:37: error: too many arguments to block call, expected 1, have 3".Also,"reject(@"font_load_failed", @"Font failed to load", error); reject(@"font_load_failed", @"Font failed to load", error); でエラー。 reject(erro…

    ReactNativeでAmobの「undefined is not an object」エラー https://github.com/sbugert/react-native-admob/issues/222 version2使う? yarn add react-native-admob@2.0.0-beta.5 react-native link をも実行する。 qiita.com にあるけど。 UIApplicationD…

    ReactNativeでmobx

    yukiyuriweb.com https://github.com/babel/babel/issues/8459 yarn add react react-dom mobx mobx-react yarn add @babel/plugin-proposal-decorators .babelrcに追加 { plugins: [ ..., ['@babel/plugin-proposal-decorators', {legacy: true}], ], }

    ReactNative治らないios

    error: bundling failed: Error: Plugin/Preset files are not allowed to export objects, only functions. In /Users/shinriyo/development/react_apps/kazoemon/node_modules/babel-preset-react-native-stage-0/index.js at createDescriptor (/Users/sh…

    ReactNativeでiOSのビルドをするとlibfishhook.aが無くてエラーが出る

    ReactNativeでiOSのビルドをするとlibfishhook.aが無くてエラーが出る https://github.com/facebook/react-native/issues/19569 これを見て For a solution, I copied the file from my ios/build/Build/Products/Debug-iphonesimulator/libfishhook.a and p…

    ReactNativeでのreact-native-admobで試したこと

    npm eject cd ios pod init そして、iosフォルダ内へ生成されたPodfileに追加。pod 'Firebase/Messaging'もいるかも?自信はない。 # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'kazoemon' do #…

    react-native-admobはexpoにもある?

    https://www.reddit.com/r/reactnative/comments/8qcjot/issue_with_reactnativeadmob_rngadbannerview_does/ redditで Hey again. I was thinking that Expo does have some ad functionality so typed into google "admob expo". って言ってる人いた Admob…

    undefined is not an object evaluating ReactPropTypes.stringのエラー

    こっちはFacebook公式ReactNativeのIssue https://github.com/facebook/react-native/issues/14590 しかし、 import PropTypes from 'prop-types'; worked for me !! Thanks ってあるけど僕はもうやってる・・。 と思ったが、発生している箇所は、 node_modu…

    watchmanキャッシュ消す ReactNativeのめんどいiosでのエラー、Admob追加などした

    npm run ejectで吐き出されたiOSのXcodeのプロジェクトを実行。 なんかのタイミングでpackage.jsonが変わった babel-preset-react-nativeを4.0入れようと npm install babel-preset-react-nativeしたせいか?? "babel-preset-react-native": "^4.0.1", これ…

    ReactNativeでのXcodeプロジェクトはどこ?

    Xcodeはどこだ? node_modules/react-native/local-cli/templates/HelloWorld/ios/HelloWorld.xcodeproj かな? しかも、HelloWorldになってるのはなぜ? 吐き出すのは npm run eject これがいいかも? そしたらアプリ名なんにするか聞かれる。

    ReactNativeで"RNGADBannerView does not exist" error

    React native google admob error? - Stack Overflow https://github.com/sbugert/react-native-admob/issues/230 react-native linkをする?

    MobXをReactNativeで

    qiita.com この辺参考 これらいれた。 yarn add babel-plugin-transform-decorators-legacy yarn add mobx-react yarn add mobx .babelrcには追加。 { "presets": ["babel-preset-expo"], + "plugins": ["transform-decorators-legacy"], "env": { "developm…