- Download DeployGate SDK ( https://deploygate.com/docs/sdk#install ) and extract
- copy deploygatesdk.jar into YOUR_PROJECT_ROOT/Assets/Plugins/Android
On your app startup, install DeployGate into your process:
class ActiveRecord::Base | |
# @param [Time] created_at | |
# @return [ActiveRecord::Base] | |
def self.find_closest_created_at(created_at) | |
return if self.last.created_at < created_at | |
high = self.last.id | |
low = self.first.id | |
while low <= high |
public void openDeployGateApp() { | |
Intent i = new Intent(Intent.ACTION_VIEW); | |
i.setPackage("com.deploygate"); | |
// set your app URL | |
i.setData(Uri.parse("https://deploygate.com/users/YOURNAME/apps/com.example.test")); | |
// or for distribution page | |
// i.setData(Uri.parse("https://deploygate.com/distributions/abcdef1234567890")); | |
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); | |
startActivity(i); | |
} |
#!/bin/sh | |
# This script is a quick hack/workaround for | |
# https://youtrack.jetbrains.com/issue/PY-12711 | |
# | |
# Open settings and set this script as an alternative to `vagrant` command | |
# to minimize lag in Vagrant plugin of IntelliJ IDEA (RubyMine, etc.) | |
VAGRANT="/usr/bin/vagrant" | |
CACHE_BASE="/tmp/vagrant-ssh-config" |
$ cd /Applications/Android\ Studio.app/sdk/platform-tools/ | |
$ ./adb forward tcp:4444 localabstract:/adb-hub | |
$ ./adb connect localhost:4444 | |
connected to localhost:4444 |
On your app startup, install DeployGate into your process: