fastlane-plugin-android_emulator 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86c178eb6144d83935914e4894e047da05fee892
|
4
|
+
data.tar.gz: ff043984afa562bdb230189b8a578d29ef0004ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8601bbf7dacb3158cbbb03958a376ad7cb8f2fa53c6e88f284bf407f1009b8a6d2498e6b7d327c61d5d12d2a56a7b08ca2df70bf7ee910f75c744638ea03aa8e
|
7
|
+
data.tar.gz: 2fc302387f8cb99ca88956013ab31f83368e531d766f15ad137c79ec2d0d0f1bf533c437ae382652aae086e9b2677af7caecf24b0f67b8cc4ae3bfefeff55059
|
@@ -15,7 +15,7 @@ module Fastlane
|
|
15
15
|
|
16
16
|
UI.message("Creating new emulator")
|
17
17
|
FastlaneCore::CommandExecutor.execute(
|
18
|
-
command: "#{sdk_dir}/tools/bin/avdmanager create avd -n '#{params[:name]}' -f -k '#{params[:package]}' -d '
|
18
|
+
command: "#{sdk_dir}/tools/bin/avdmanager create avd -n '#{params[:name]}' -f -k '#{params[:package]}' -d '#{params[:device]}'",
|
19
19
|
print_all: true,
|
20
20
|
print_command: false
|
21
21
|
)
|
@@ -36,10 +36,10 @@ module Fastlane
|
|
36
36
|
end
|
37
37
|
|
38
38
|
UI.message("Starting emulator")
|
39
|
-
system("LC_NUMERIC=C; #{sdk_dir}/
|
39
|
+
system("LC_NUMERIC=C; #{sdk_dir}/emulator/emulator @#{params[:name]} -port #{port} > /dev/null 2>&1 &")
|
40
40
|
sh("#{adb} -e wait-for-device")
|
41
41
|
|
42
|
-
until Actions.sh("#{adb} -e shell getprop
|
42
|
+
until Actions.sh("#{adb} -e shell getprop dev.bootcomplete", log: false).strip == "1" do
|
43
43
|
sleep(5)
|
44
44
|
end
|
45
45
|
|
@@ -95,6 +95,11 @@ module Fastlane
|
|
95
95
|
description: "Name of the AVD",
|
96
96
|
default_value: "fastlane",
|
97
97
|
optional: false),
|
98
|
+
FastlaneCore::ConfigItem.new(key: :device,
|
99
|
+
env_name: "AVD_DEVICE",
|
100
|
+
description: "Device",
|
101
|
+
default_value: "Nexus 5",
|
102
|
+
optional: false),
|
98
103
|
FastlaneCore::ConfigItem.new(key: :port,
|
99
104
|
env_name: "AVD_PORT",
|
100
105
|
description: "Port of the emulator",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-android_emulator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Ruhl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|