万年素人からHackerへの道

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

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

    2020-08-01から1ヶ月間の記事一覧

    firebase_messagingでのonBackgroundMessageでのハマりどころ

    https://pub.dev/packages/firebase_messaging firebase_messagingにてonBackgroundMessageを使うときは、 TOP-LEVEL か STATIC の関数しか使えない。 ○呼べる関数について TOP-LEVELとはクラスから出てるような関数。STATICはその名の通りstaticついてるや…

    Androidでビルドの

    FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileReleaseKotlin'. > Failed to install the following Android SDK packages as some licences have not been accepted. build-too…

    FIREBASE_TOKENというFireebaseのトークン取得コマンド

    firebase login:ci 実行。 ブラウザ立ち上がるのでそれでログインする。 firebase login:ci Visit this URL on this device to log in: https://accounts.google.com/o/oauth2/auth?client_id=なんてら Waiting for authentication... ✔ Success! Use this t…

    Flutterのテストコード Integration Test

    [Flutter] Integration Test を書く時の 7 つのポイント - Qiita ↑これがいい。 https://qiita.com/chooyan_eng/items/700076224d1297de2d4b 【Flutter】Widget テストの「あれ、これどうやるんだろう?」集 - Qiita ↑ハマりどころ https://qiita.com/kasa_l…

    Firebaseのプラグインについて最新対応

    'getCredential' is deprecated and shouldn't be used. Deprecated in favor of `FacebookAuthProvider.credential()`. credentialにする。 PhoneVerificationFailed => FirebaseAuthException FirebaseAuth.instance.currentUser() => () 不要で await 不…

    FlutterでAndroidのPUSH通知のアイコンがグレーになる

    https://github.com/flutter/flutter/issues/17941 これが参考になる。AndroidManifest いじる必要あり。 プラグインのREADMEにプルリク。取り込まれろ!! https://github.com/FirebaseExtended/flutterfire/pull/3336/files あと、画像の仕様がマニアック…

    webview_flutterの謎エラー

    Resolving dependencies of `Podfile` CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update [!] CocoaPods could not find compatible versions for pod "webview_flutter": In Pod…

    Hatena Blogで『サードパーティーCookieが無効になっています』と表示される

    chromeブラウザを使っているとどう頑張ってもはてなブログで『サードパーティーCookieが無効になっています』と表示されてしまう件 - 心配なつむくま 無理?Chrome諦めようw

    Flutterで謎のエラー

    This application’s application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed. Domain: com.apple.dt.MobileDeviceErrorDomain

    Xcodeで犯人探しBlame

    Swift

    Xcode今選択したのを左ペインに出す

    Xcode - XCodeで、今開いているソースがツリーの中でどこにあるのかを知る方法?|teratail [shift]+[command]+[J]のショートカットキーが、デフォルトでアサインされています。

    macOSでPDF表示 解像度

    support.apple.com

    fvmで設定していることFishシェル

    .config/fish/config.fish set -x PATH $HOME/development/flutter_apps/flutter/bin/cache/dart-sdk/bin $PATH # fvm set -x PATH $HOME/.pub-cache/bin $PATH AndroidStudioでは /Users/shinriyo/fvm/versions/1.20.0`みたいにで設定しておく。 /Users/shi…

    FlutterのAndroid, iOSプロジェクトだけ作り直し

    dart - Recreate Flutter's ios and android folder with Swift and Kotlin - Stack Overflow cd project flutter create . これで勝手にやってくれるらしいが iosフォルダとか消さないとやってくれない気する。

    AppleのなぜかEXPIRATIONがInvalidに

    IdentifiersでAppleのIDでログインするために設定を「Sign In with Apple」にチェック追加とかしてたら、 なぜかEXPIRATIONがInvalidになってる!!! Downloadでなくなってる・・・ Editして、SaveするとDownloadできた。

    Android Studioが起動しない

    LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Android Studio.app. アップデートと共に出るように。 /Applications/IntelliJ\ IDEA\ CE.app/Contents/Info.plist <key>JVMVersion</key> <string>1.8*,1.8+</string> を 1.6*から1.7*にしろってあるが、1.8…

    Flutterのアコーディオンのメモ

    configurable_expansion_tile https://pub.dev/packages/configurable_expansion_tile // アコーディオン Widget _accordionWidget( BuildContext context, bool isWorking, String title, String body) { return ConfigurableExpansionTile( // 開いたとき…