Skip to content

Commit

Permalink
New firebase Methods and new description
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicioslc committed Jul 25, 2019
1 parent 1022398 commit f4fd1d2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### Attention !! ONLY TESTED IN WINDOWS !!

#### Help are welcome ;)

<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TKRZ7F4FV4QY4&source=url">![Donation will make this tree growth](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)</a>

# 0.5K Installs Thanks for everyone !! \O/`\_/ ! \o\o\o\o/o/o/o/
Expand All @@ -11,9 +12,14 @@ An simple adb extesion that makes possible to connect to an device over wifi con

## Currently with following features.

- 📱 ADB Interface :: Reset TCP ports from connected devices to :5555 (Open device port to connect thought wifi)
- 📱 ADB Interface :: Connect to device IP (need inform IP from device wanted) - will be removed ??
- 📱 ADB Interface :: Disconnect from any devices (Disconnect everthing)
- 📱 ADB Interface :: Connect to device from List (Show an list from devices attached to connect)
- 📱 ADB | Reset TCP ports from connected devices to :5555 (Open device port to connect thought wifi)
- 📱 ADB | Connect to device IP (need inform IP from device wanted) - will be removed ??
- 📱 ADB | Disconnect from any devices (Disconnect everthing)
- 📱 ADB | Connect to device from List (Show an list from devices attached to connect)

> COMMING SOON
- (comming) 🔥 ADB | Firebase - Enter debug mode (Run firebase events in debug mode)
- (comming) 🔥 ADB | Firebase - Exit events debug mode (Run firebase events in debug mode)

![status bar](media/record1.gif)
35 changes: 14 additions & 21 deletions src/adb-interface/adb-interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,20 @@ export class ADBInterface {
return result
}

static firebaseEventsDebug({ package_name }): string {
const result = execSync(
`adb shell setprop debug.firebase.analytics.app ${package_name}`
).toString()
return result
}

static disableFirebaseEventsDebug({ package_name }): string {
const result = execSync(
`adb shell setprop debug.firebase.analytics.app .none.`
).toString()
return result
}

static async DisconnectFromAllDevices(): Promise<ADBResult> {
var finalResult = new ADBResult(
ADBResultState.Error,
Expand Down Expand Up @@ -127,27 +141,6 @@ export class ADBInterface {
}
}

/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
/**
* Is an enum of adb possible results
*/
Expand Down

0 comments on commit f4fd1d2

Please sign in to comment.