「Flutter/firebase/Crashlytics」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==インストール== プラグイン公式:https://pub.dev/packages/firebase_crashlytics#-readme-tab- firebase公式:https://firebase.google.com/docs/crashlytics/g...」) |
|||
(同じ利用者による、間の2版が非表示) | |||
行1: | 行1: | ||
+ | ==マニュアル== | ||
+ | firebase Android公式:https://firebase.google.com/docs/crashlytics/get-started-new-sdk?platform=android&authuser=0 | ||
+ | |||
+ | firebase iOS公式:https://firebase.google.com/docs/crashlytics/get-started-new-sdk?platform=ios&authuser=0 | ||
+ | |||
==インストール== | ==インストール== | ||
プラグイン公式:https://pub.dev/packages/firebase_crashlytics#-readme-tab- | プラグイン公式:https://pub.dev/packages/firebase_crashlytics#-readme-tab- | ||
− | |||
− | |||
pubspec.yaml | pubspec.yaml |
2020年2月15日 (土) 02:44時点における版
マニュアル
firebase Android公式:https://firebase.google.com/docs/crashlytics/get-started-new-sdk?platform=android&authuser=0
firebase iOS公式:https://firebase.google.com/docs/crashlytics/get-started-new-sdk?platform=ios&authuser=0
インストール
プラグイン公式:https://pub.dev/packages/firebase_crashlytics#-readme-tab-
pubspec.yaml
dependencies: firebase_crashlytics: ^0.1.2+5
Androidインストール
android/build.gradle
buildscript { dependencies { // Add the Crashlytics Gradle plugin. start classpath 'com.android.tools.build:gradle:3.2.1' // Add the google services classpath classpath 'com.google.gms:google-services:4.3.0' // Add fabric classpath classpath 'com.google.firebase:firebase-crashlytics-gradle:2.0.0-beta02' // Add the Crashlytics Gradle plugin. end } } allprojects { repositories { google() jcenter() maven { url 'https://maven.fabric.io/public' } } }
android/app/build.gradle
// Apply the Crashlytics Gradle plugin start apply plugin: 'com.google.firebase.crashlytics' apply plugin: 'com.google.gms.google-services' // Apply the Crashlytics Gradle plugin end