Coder Social home page Coder Social logo

fastlane-firebase-plugin's People

Contributors

tkohout avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fastlane-firebase-plugin's Issues

NoMethodError: [!] undefined method `[]' for nil:NilClass (Sign-in Challenge)

Hi,

Im having an issue when running any command from firebase-plugin, we get

NoMethodError: [!] undefined method `[]' for nil:NilClass

This is happening when the sign-in challenge is triggered, the Capcha is running ok, but sign-in challenge throws this error.

We are running
ruby 2.4.2
firebase-plugin 0.2.1
fastlane 2.62.1

NoMethodError: [!] undefined method `[]' for nil:NilClass
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.1/lib/fastlane/plugin/firebase/lib/api.rb:127:in `signin_challenge'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.1/lib/fastlane/plugin/firebase/lib/api.rb:60:in `login'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.1/lib/fastlane/plugin/firebase/lib/api.rb:26:in `initialize'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.1/lib/fastlane/plugin/firebase/lib/manager.rb:19:in `new'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.1/lib/fastlane/plugin/firebase/lib/manager.rb:19:in `login'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.1/lib/fastlane/plugin/firebase/actions/firebase_list_action.rb:9:in `run'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:231:in `block in execute_action'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:227:in `chdir'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
  Fastfile:33:in `block (2 levels) in parsing_binding'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/lane.rb:33:in `call'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/lane_manager.rb:54:in `cruise_lane'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:66:in `run!'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
  /Users/admin/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/fastlane-2.62.1/bin/fastlane:20:in `<top (required)>'
  /Users/admin/.rbenv/versions/2.4.2/bin/fastlane:23:in `load'
  /Users/admin/.rbenv/versions/2.4.2/bin/fastlane:23:in `<top (required)>'

Not geting params properly

Hi!, I'm trying to use upload_certificate. But I'm having problems to automatitate the project number param. Is not working for me. Here is the command line.

firebase_upload_certificate( username: "[email protected]", project_number: "1", client_id: "Client", type: "development", p12_path: "/path" )

Upload p8 file?

I just found this plugin. Does this support adding a p8 file for an app (new or existing)? I don't see that.

Bug with env_name being overwritten?

I stumbled upon this:
in actions/firebase_add_client_action.rb, you set the ConfigItem for env_name: FIREBASE_BUNDLE_ID twice (line 90 and line 94). Is this intended?

two-factor authorization

I have two-factor authorization on my Google Account.

When i run the lane it asks me for the password and then there is an error because it waits for the 6-digit code.

There is the option of creating an App password on my Google Account but of course it does not work with web-based login.

Is there a way to use two-factor authorization with fastlane-plugin-firebase?

Here is my lane:

lane :firebasePoC do
  firebase_add_client(
    username: firebaseUser,
    project_number: pocFirebaseProjectNumber,
    download_config: true,
    type: "ios",
    bundle_id: pocBundleId,
    output_path: "./PoC/"
  )

  firebase_upload_certificate(
    username: firebaseUser,
    p12_path: pocP12Path,
    p12_password: pocP12Password,
    project_number: pocFirebaseProjectNumber,
    client_id: "ios:#{pocBundleId}",
    type: "production"
  )
end

Here is the terminal output:

DEBUG [2017-08-08 11:09:48.96]: Checking if there are any plugins that should be loaded...
DEBUG [2017-08-08 11:09:48.96]: Loading 'fastlane-plugin-latest_hockeyapp_version_number' plugin
INFO [2017-08-08 11:09:49.01]: gem 'fastlane-plugin-latest_hockeyapp_version_number' is already installed
DEBUG [2017-08-08 11:09:49.02]: Loading 'fastlane-plugin-firebase' plugin
INFO [2017-08-08 11:09:49.07]: gem 'fastlane-plugin-firebase' is already installed
+-------------------------------------------------+---------+------------------------------------------------------------------------------------+
|                                                                  Used plugins                                                                  |
+-------------------------------------------------+---------+------------------------------------------------------------------------------------+
| Plugin                                          | Version | Action                                                                             |
+-------------------------------------------------+---------+------------------------------------------------------------------------------------+
| fastlane-plugin-latest_hockeyapp_version_number | 1.0.0   | latest_hockeyapp_version_number                                                    |
| fastlane-plugin-firebase                        | 0.2.0   | firebase_add_client firebase_delete_client firebase_download_config firebase_list  |
|                                                 |         | firebase_upload_certificate                                                        |
+-------------------------------------------------+---------+------------------------------------------------------------------------------------+

INFO [2017-08-08 11:09:49.46]: -----------------------------
INFO [2017-08-08 11:09:49.46]: --- Step: update_fastlane ---
INFO [2017-08-08 11:09:49.46]: -----------------------------
INFO [2017-08-08 11:09:49.46]: Looking for updates for fastlane...
INFO [2017-08-08 11:09:52.76]: Nothing to update โœ…
INFO [2017-08-08 11:09:52.76]: 
INFO [2017-08-08 11:09:52.76]: Please help us test early releases of fastlane by opting into nightly builds ๐ŸŒƒ
INFO [2017-08-08 11:09:52.76]: Just replace your `update_fastlane` call with
INFO [2017-08-08 11:09:52.76]: 
INFO [2017-08-08 11:09:52.76]: โ–ธ update_fastlane(nightly: true)
INFO [2017-08-08 11:09:52.76]: 
INFO [2017-08-08 11:09:52.76]: Nightly builds are reviewed and tested just like the public releases ๐Ÿš‚
INFO [2017-08-08 11:09:52.76]: 
INFO [2017-08-08 11:09:52.77]: -------------------------------------------------
INFO [2017-08-08 11:09:52.77]: --- Step: Verifying required fastlane version ---
INFO [2017-08-08 11:09:52.77]: -------------------------------------------------
INFO [2017-08-08 11:09:52.77]: Your fastlane version 2.51.0 matches the minimum requirement of 2.46.0  โœ…
INFO [2017-08-08 11:09:52.77]: ------------------------------
INFO [2017-08-08 11:09:52.77]: --- Step: default_platform ---
INFO [2017-08-08 11:09:52.77]: ------------------------------
INFO [2017-08-08 11:09:52.77]: Driving the lane 'ios firebasePoC' ๐Ÿš€
INFO [2017-08-08 11:09:52.77]: ---------------------------------
INFO [2017-08-08 11:09:52.77]: --- Step: firebase_add_client ---
INFO [2017-08-08 11:09:52.77]: ---------------------------------
 [2017-08-08 11:09:52.82]: Password for ******@gmail.com
******************
INFO [2017-08-08 11:09:59.92]: Logging in to Google account ******@gmail.com
INFO [2017-08-08 11:10:00.48]: -------------------------
INFO [2017-08-08 11:10:00.48]: --- Sign-in challenge ---
INFO [2017-08-08 11:10:00.48]: -------------------------
INFO [2017-08-08 11:10:01.35]: ---------------------
INFO [2017-08-08 11:10:01.35]: --- Step: hipchat ---
INFO [2017-08-08 11:10:01.35]: ---------------------
DEBUG [2017-08-08 11:10:01.35]: Taking value for 'api_token' from environment variable 'HIPCHAT_API_TOKEN'
DEBUG [2017-08-08 11:10:01.36]: Taking value for 'version' from environment variable 'HIPCHAT_API_VERSION'
DEBUG [2017-08-08 11:10:01.36]: Taking value for 'api_host' from environment variable 'HIPCHAT_API_HOST'
DEBUG [2017-08-08 11:10:01.36]: Taking value for 'channel' from environment variable 'FL_HIPCHAT_CHANNEL'
WARN [2017-08-08 11:10:01.55]: Lane Context:
INFO [2017-08-08 11:10:01.55]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios firebasePoC"}
ERROR [2017-08-08 11:10:01.55]: Unknown challenge type 

<form method="POST" id="challenge" action="/signin/challenge/totp/2" jsname="rzWj5" jscontroller="HNBfvc" jsaction="submit:zbvklb" jsshadow><content><input name="challengeId" type="hidden" id="challengeId" value="2"><input name="challengeType" type="hidden" id="challengeType" value="6"><input name="continue" type="hidden" value="https://console.firebase.google.com/"><input name="osid" type="hidden" value="1"><input name="TL" type="hidden" value="A****"><input type="hidden" name="gxf" id="gxf" value="A****"><div jsname="KrwUDc">
<img jsname="TqVmm" class="JC07Dd" src="//ssl.gstatic.com/accounts/marc/authenticator.png" alt=""><div class="EGmPD" jsname="BCqkPb">Enter a verification code</div>
<div class="VnJmLc" jsname="NhJ5Dd">Get a verification code from the <strong>Google Authenticator</strong> app</div>
<div class="gIH97b"><input type="tel" pattern="[0-9 ]*" id="totpPin" name="Pin" dir="ltr" autocomplete="off" placeholder="Enter the 6-digit code" autofocus class="y1x0pc"></div>
<input type="submit" class="MK9CEd MVpUfe" jsname="M2UYVd" jscontroller="rrJN5c" jsaction="aJAbCd:zbvklb" value="Done" id="submit"><div class="ARshqb">
<input type="checkbox" name="TrustDevice" id="trustDevice" class="aCOJmf" checked><span>Don't ask again on this computer</span><div class="Bfmfyc" role="tooltip">
<div class="x7qQqf"></div>
<div class="hzC8Lb">For your convenience, keep this ticked. On shared devices, additional precautions are recommended. <a href="https://support.google.com/accounts/?p=securesignin&amp;hl=en_GB" target="_blank">Learn more</a>
</div>
</div>
</div>
</div></content></form>
INFO [2017-08-08 11:10:01.56]: Successfully generated documentation at path '/*****/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | update_fastlane                     | 3           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| ๐Ÿ’ฅ   | firebase_add_client                 | 7           |
| 5    | hipchat                             | 0           |
+------+-------------------------------------+-------------+

DEBUG [2017-08-08 11:10:01.57]: All plugins are up to date
ERROR [2017-08-08 11:10:01.57]: fastlane finished with errors
DEBUG [2017-08-08 11:10:01.58]: All plugins are up to date
bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
FastlaneCore::Interface::FastlaneError: [!] Unknown challenge type 

<form method="POST" id="challenge" action="/signin/challenge/totp/2" jsname="rzWj5" jscontroller="HNBfvc" jsaction="submit:zbvklb" jsshadow><content><input name="challengeId" type="hidden" id="challengeId" value="2"><input name="challengeType" type="hidden" id="challengeType" value="6"><input name="continue" type="hidden" value="https://console.firebase.google.com/"><input name="osid" type="hidden" value="1"><input name="TL" type="hidden" value="AHnYQLy-*****"><input type="hidden" name="gxf" id="gxf" value="A****"><div jsname="KrwUDc">
<img jsname="TqVmm" class="JC07Dd" src="//ssl.gstatic.com/accounts/marc/authenticator.png" alt=""><div class="EGmPD" jsname="BCqkPb">Enter a verification code</div>
<div class="VnJmLc" jsname="NhJ5Dd">Get a verification code from the <strong>Google Authenticator</strong> app</div>
<div class="gIH97b"><input type="tel" pattern="[0-9 ]*" id="totpPin" name="Pin" dir="ltr" autocomplete="off" placeholder="Enter the 6-digit code" autofocus class="y1x0pc"></div>
<input type="submit" class="MK9CEd MVpUfe" jsname="M2UYVd" jscontroller="rrJN5c" jsaction="aJAbCd:zbvklb" value="Done" id="submit"><div class="ARshqb">
<input type="checkbox" name="TrustDevice" id="trustDevice" class="aCOJmf" checked><span>Don't ask again on this computer</span><div class="Bfmfyc" role="tooltip">
<div class="x7qQqf"></div>
<div class="hzC8Lb">For your convenience, keep this ticked. On shared devices, additional precautions are recommended. <a href="https://support.google.com/accounts/?p=securesignin&amp;hl=en_GB" target="_blank">Learn more</a>
</div>
</div>
</div>
</div></content></form>
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane_core/lib/fastlane_core/ui/interface.rb:131:in `user_error!'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane_core/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.0/lib/fastlane/plugin/firebase/lib/api.rb:144:in `signin_challenge'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.0/lib/fastlane/plugin/firebase/lib/api.rb:61:in `login'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.0/lib/fastlane/plugin/firebase/lib/api.rb:27:in `initialize'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.0/lib/fastlane/plugin/firebase/lib/manager.rb:19:in `new'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.0/lib/fastlane/plugin/firebase/lib/manager.rb:19:in `login'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-plugin-firebase-0.2.0/lib/fastlane/plugin/firebase/actions/firebase_add_client_action.rb:8:in `run'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:252:in `block (2 levels) in execute_action'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:230:in `block in execute_action'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:226:in `chdir'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:226:in `execute_action'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
  Fastfile:196:in `block (2 levels) in parsing_binding'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/lane.rb:33:in `call'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
  /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
  /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
  /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:64:in `run!'
  /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
  /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.51.0/bin/fastlane:20:in `<top (required)>'
  /usr/local/bin/fastlane:22:in `load'
  /usr/local/bin/fastlane:22:in `<top (required)>'

What do we use for the project number?

I assumed that setting the project_number parameter to "1" (The same as I enter when selecting the project manually) would allow the project to be chosen automatically but this doesn't work. Is there another project number I need to use? I could only see a project id in Firebase and using this doesn't work either. Thanks.

Error while running firebase_download_config

Hello!
Select project - Successfuly
Select client - Successfuly
Downloading config file:


[14:57:25]: hostname "console.firebase.google.com" does not match the server certificate
[14:57:25]:
[14:57:25]: SSL errors can be caused by various components on your local machine.
[14:57:25]: Apple has recently changed their servers to require TLS 1.2, which may
[14:57:25]: not be available to your system installed Ruby (2.0.0)
[14:57:25]:
[14:57:25]: The best solution is to use the self-contained fastlane version.
[14:57:25]: Which ships with a bundled OpenSSL,ruby and all gems - so you don't depend on system libraries
[14:57:25]: - Use Homebrew
[14:57:25]: - update brew with brew update
[14:57:25]: - install fastlane using:
[14:57:25]: - brew cask install fastlane
[14:57:25]: - Use One-Click-Installer:
[14:57:25]: - download fastlane at https://download.fastlane.tools
[14:57:25]: - extract the archive and double click the install
[14:57:25]: -----------------------------------------------------------
[14:57:25]: for more details on ways to install fastlane please refer the documentation:
[14:57:25]: -----------------------------------------------------------
[14:57:25]: ๐Ÿš€ https://docs.fastlane.tools ๐Ÿš€
[14:57:25]: -----------------------------------------------------------
[14:57:25]:
[14:57:25]: You can also install a new version of Ruby
[14:57:25]:
[14:57:25]: - Make sure OpenSSL is installed with Homebrew: brew update && brew upgrade openssl
[14:57:25]: - If you use system Ruby:
[14:57:25]: - Run brew update && brew install ruby
[14:57:25]: - If you use rbenv with ruby-build:
[14:57:25]: - Run brew update && brew upgrade ruby-build && rbenv install 2.3.1
[14:57:25]: - Run rbenv global 2.3.1 to make it the new global default Ruby version
[14:57:25]: - If you use rvm:
[14:57:25]: - First run rvm osx-ssl-certs update all
[14:57:25]: - Then run rvm reinstall ruby-2.3.1 --with-openssl-dir=/usr/local
[14:57:25]:
[14:57:25]: If that doesn't fix your issue, please google for the following error message:
[14:57:25]: 'hostname "console.firebase.google.com" does not match the server certificate'
[14:57:25]: -----------------------------------------------------------------------

[!] hostname "console.firebase.google.com" does not match the server certificate

tried all recomendations but nothing helped
what should i do?

upload_certificate not working

Hi!, I'm trying to use upload_certificate. But I'm having problems to automatitate the project number param. Is not working for me. Here is the command line.

firebase_upload_certificate( username: "[email protected]", project_number: "1", client_id: "Client", type: "development", p12_path: "/path" )

Use ENV or input password as a alternative to prompt

It would be nice to be able to pass the firebase password on non-interactive enviroments. For example:

  firebase_add_client(
    username: ENV['USERNAME'],
    password: ENV['FASTLANE_FIREBASE_PASSWORD']
  )

Or, even better if we could set a .env variable, for example ENV['FASTLANE_FIREBASE_PASSWORD'], and the code checks if it's defined before prompting the user to insert the password.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.