From 337488463cbfa53da333dca449632dec78c9c04f Mon Sep 17 00:00:00 2001
From: Rodrigo Nascimento <rodrigoknascimento@gmail.com>
Date: Thu, 15 Mar 2018 11:47:18 -0300
Subject: [PATCH] Use cordova repository to get certificates

---
 ios/fastlane/Fastfile  | 6 ++----
 ios/fastlane/Matchfile | 9 +++++++++
 2 files changed, 11 insertions(+), 4 deletions(-)
 create mode 100644 ios/fastlane/Matchfile

diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile
index b9513cd89..9b32e9756 100644
--- a/ios/fastlane/Fastfile
+++ b/ios/fastlane/Fastfile
@@ -36,8 +36,7 @@ platform :ios do
   desc "This will also make sure the profile is up to date"
   lane :beta do
     match(
-      type: "appstore",
-      git_url: "git@github.com:RocketChat/Rocket.Chat.ReactNative.FastLane.git"
+      type: "appstore"
     ) # more information: https://codesigning.guide
     pem()
     gym(scheme: "RocketChatRN") # Build your app - more options available
@@ -52,8 +51,7 @@ platform :ios do
     # match(type: "appstore")
     # snapshot
     match(
-      type: "appstore",
-      git_url: "git@github.com:RocketChat/Rocket.Chat.ReactNative.FastLane.git"
+      type: "appstore"
     ) # more information: https://codesigning.guide
     pem()
     gym(scheme: "RocketChatRN") # Build your app - more options available
diff --git a/ios/fastlane/Matchfile b/ios/fastlane/Matchfile
new file mode 100644
index 000000000..9826f288e
--- /dev/null
+++ b/ios/fastlane/Matchfile
@@ -0,0 +1,9 @@
+git_url("https://github.com/RocketChat/Rocket.Chat.Cordova.Fastlane")
+
+type("development") # The default type, can be: appstore, adhoc, enterprise or development
+
+# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"])
+# username("user@fastlane.tools") # Your Apple Developer Portal username
+
+# For all available options run `fastlane match --help`
+# Remove the # in the beginning of the line to enable the other options
-- 
GitLab