We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0941c commit efaa0eaCopy full SHA for efaa0ea
lib/appium_lib/driver.rb
@@ -75,7 +75,7 @@ def initialize options={}
75
@port = opts.fetch :port, ENV['PORT'] || 4723
76
77
@os = :ios
78
- @os = :android if @app_path.end_with?('.apk') || @app_path.end_with?('.apk.zip')
+ @os = :android if @app_path.match /\.apk/i
79
80
# load common methods
81
extend Appium::Common
0 commit comments