目录

agata

A simple UI layer over the components necessary to read hit logs for GAv4 on Android devices. An Android GA Tag Assistant, if you will.

Dependencies

Apart from the npm dependencies listed in package.json, this app relies on adb (Android Debug Bridge).

This can be installed either together with Android Studio or by installing the SDK tools alone.

In short, we want:

  • node/npm
  • adb binary

Setting up agata

Once your dependencies are set up and this repo cloned, you may want to copy your adb binary into bin/adb at the project’s root:

$ cd agata
$ mkdir bin
$ cp /path/to/adb bin/adb
           

The other option is to remove ./bin/ everywhere it appears from the file adb.js (if adb is in your $PATH). You would do this if you will run this app from the command line.

Lastly, install npm dependencies:

$ npm install
               

Running agata

This app can run in two environments.

First, as a standard node app:

$ node tagassistant.js
                   

Second, as a node-webkit standalone app, should you wish to package it for use by someone, without making them install node and other dependencies (like adb). This requires some set up, and has only been tested on Linux and MacOS, but instructions are straightforward.

In order to minimize duplication of files, the main field in package.json is set to the value that node-webkit would expect, so running this app by entering npm into the command line does nothing.

This is not an official Google product.

邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号