Commit Graph
19 Commits
Author SHA1 Message Date
Paul Beusterien 31f978eb95 Provide version for FDL 1P builds (#6679) 2020-10-08 07:24:18 -07:00
Paul Beusterien 672256e11e C API for Firebase Version (#6690) 2020-10-07 15:03:20 -07:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Paul Beusterien eea957561c Merge remote-tracking branch 'origin/master' into pb-f7-msg-update 2020-09-22 15:46:23 -07:00
Paul Beusterien a39b515f3a Update podspecs to min iOS 10 (#6517) 2020-09-22 15:11:35 -07:00
Andrzej Hunt b89529ac1e Add IWYU pragma to FIRDynamicLinks+FirstParty/FIRDynamicLinks (#6508)
Most FirstParty users will still need to use methods from FIRDynamicLinks.h
(shouldHandleDynamicLinkFromCustomSchemeURL:/dynamicLinkFromCustomSchemeURL: etc.).
Arguably, including both headers looks odd, hence add the IWYU pragma so that it's sufficient
to only use the FirstParty header.
2020-09-21 07:52:51 -07:00
Paul Beusterien 0a87c3142e Remove unnecessary Core private headers (#6439) 2020-09-17 15:31:33 -07:00
Eldhose M Babu c5501e6641 Ipv4 ipv6 fix (#6428)
Recreating PR #5966

Instead of using firebasedynamiclinks-ipv4.googleapis.com and firebasedynamiclinks-ipv6.googleapis.com for doing attribution calls, we are moving towards using firebasedynamiclinks.googleapis.com.

Fixes #5032

-changed ipv4 and ipv6 attribution calls with a single direct url.
-Removed and refactored code to get rid of code to handle consolidated results from ipv4 and ipv6 result.
-Made changes to Test app to show alert dialog when universal linking when app is not in background case and also for fresh start case.
2020-09-14 15:21:43 -07:00
Eldhose M Babu b40263ae8e Removing client id usage in api call and respective checks (#6396)
Removing client id usage in api call and respective checks

FDL SDK was using client id passed in FIROptions to make API calls. From backend side, we no longer needs client id to be sent. So removing the client id usage in FDL SDK along with parameter no null checks.

-Removed the usage of Client id from FIROptions.
-Removed non null parameter checks for client id.
-Deprecated 1p API method setUpWithLaunchOptions::apiKey:clientID:urlScheme:userDefaults: and added setUpWithLaunchOptions::apiKey:urlScheme:userDefaults:
-Removed Client id usage in Unit tests.
2020-09-09 11:54:20 -07:00
Paul Beusterien e05df895ac SPM - DynamicLinks (#6245) 2020-08-11 07:44:06 -07:00
Paul Beusterien 745ddc51ad Enable check_imports presubmit for FDL (#6228) 2020-08-07 13:07:11 -07:00
Eldhose M Babu d5d795c118 Check for Pending Dynamic link guard check logic change (#5993)
Check for pending DL guard check logic change.
2020-08-04 11:31:50 -07:00
Marq Roldan e8326faa4b Update FIRDynamicLinkNetworking.m (#5941)
Recreate the session to avoid crash when opening another or the same dynamic link (app already opened by a dynamic or have already processed one)
2020-07-02 11:42:33 -07:00
Eldhose M Babu 8083b5895e Adding plist property 'FirebaseDeepLinkPasteboardRetrievalEnabled' (#5946)
Adding plist property "FirebaseDeepLinkPasteboardRetrievalEnabled" to enable/disable fetching dynamic links from Pasteboard.
2020-06-30 17:15:03 -07:00
Nick Cooke f7ccdefc3a Checking the pasteboard for dynamic links in ios14 (#5905)
* Checking the first pasteboard item in ios14

* Cleaned up method and added ifdef

* Renamed variable

* Style

* Refactored method

* Using another url detecting api

* Made sure pasteboardContents is initialized

* Changelog

* Update Changelog

* Removed trailing space
2020-06-29 19:00:21 -04:00
Paul Beusterien e15724a436 Migrate from interop pods to source_files header access (#5760) 2020-06-09 06:09:27 -07:00
Paul Beusterien d4621a636f Use preserve_paths instead of CocoaPods private (#5758) 2020-06-09 05:21:28 -07:00
Eldhose M Babu 68b0a239e7 Fixing unwanted pending dynamic links checks on subsequent app restarts (#5665)
* Fix for internal bug b/154589338

Most of the times, when the app is cold started, we are making api calls to:

https://firebasedynamiclinks-ipv4.googleapis.com/v1
https://firebasedynamiclinks-ipv6.googleapis.com/v1

Until we get a successful response. But sometimes, if the device doesn’t have support for v6 endpoint and if the v4 endpoint doesn’t retrieve a valid dynamic link, it will return error. This mostly happens when user directly goes to App Store and installs an app which has fdl sdk integrated.

For dynamic links, we want the app to retrieve the pending dynamic link on the very first start of the app after install so that 3p developers can deeplink to a particular page in the app. If the pending links retrieval failed during the first start, there is no point in retrying the retrieval during next restart since it could result in an un expected  deep link for the user when they opens up the app for subsequent restarts (if a valid dynamic link is returned).
2020-05-29 13:31:25 -07:00
dmandar f5062d861c FDL source, unit tests and app now live in FirebaseDynamicLinks folder. (#4767)
* Move FDL sources to new location.

* Add FDL unit tests.

* Move test app.

* Fix source path.

* Move unit tests path.

* Rename source to sources.

* Change relative path.

* Update podspec.

* Fix header search path.

* Fix relative path for scripts.

* Fix tests.
2020-01-30 11:44:31 -08:00