Posted on Leave a comment

Use Firebase

Console

Docs

Set up Google Play Services

Firebase Cloud Messaging HTTP Protocol

FirebaseInstanceId

Android push notification tutorial (php, mysql)

Firebase vs Google Analytics

Firebase API

What’s new at Firebase Summit 2019 [ https://firebase.googleblog.com/2019/09/Whats-new-at-Firebase-Summit-2019.html ]
How to set up Crashlytics alerting to monitor app stability [ https://firebase.googleblog.com/2019/09/how-to-set-up-crashlytics-alerting.html ]

Exploring Firebase ML Kit on Android: Smart Reply [ https://joebirch.co/2019/04/24/exploring-firebase-ml-kit-on-android-smart-reply/ ]

Firebase App Distribution, Fastlane, Docker, Bitbucket Pipelines, Telegram, and all that jazz [ https://proandroiddev.com/firebase-app-distribution-fastlane-docker-bitbucket-pipelines-telegram-and-all-that-jazz-2dcb770da7dd ]

Firebase ML Kit: AutoML Vision Edge [ https://proandroiddev.com/firebase-ml-kit-automl-vision-edge-62416d4575cc ]

Test Robo Scripts Locally: Useful For Firebase Test Lab & Pre-launch Reports [ https://android.jlelse.eu/test-robo-scripts-locally-useful-for-firebase-test-lab-pre-launch-reports-41da83d5769f ]

Posted on Leave a comment

google app index

Android Debug Bridge ADB

$ ID="foo"
$ adb shell am start -a android.intent.action.VIEW \ -d "https://events.google.com/io2016/schedule?sid=$ID" \ com.google.samples.apps.iosched

Activity

@Override
protected void onCreate(Bundle savedInstanceStates) {
  mClient = new GoogleApiClient.Builder(this).addApi(AppIndex.API).build();
}

public void onStart() {
  String url = "https://events.google.com/io2016/schedule?sid=" + sessionId;
  Action action = Action.newAction(Action.TYPE_VIEW, title, url);
  AppIndex.AppIndexApi.start(mClient, action);
}

Activity. User came from Google

//referrer string for Intents from Google Search in a browser
static final String Google_web_referrer = "https://www.google.com";
//referrer string for Intents from the Google app
static final String Google_app_referrer = "android-app://com.google.android.googlequicksearchbox/https/www.google.com";

public void onStart() {
  String referrer = this.getReferrer().toString();
  if (Google_web_referrer.equals(referrer) || Google_app_referrer.equals(referrer)) {
    // user came from google
  }
}