Commit Graph
38 Commits
Author SHA1 Message Date
Paul Beusterien 2a3da220c5 Merge 7.3.1 to master (#7168) 2020-12-15 10:29:44 -08:00
Paul BeusterienandMaksym Malyhin 62735099d5 Callback should be on main thread (#7159)
Co-authored-by: Maksym Malyhin <mmaksym@google.com>
2020-12-14 16:25:25 -08:00
Paul Beusterien 31f7c01798 Merge 7.3 (#7137)
* Add Dynamic Links PR to 7.3.0 release with Changelog update (#7119)
* Update SPM analytics for 7.3.0 (#7132)
2020-12-09 13:13:54 -08:00
Alexander Perepelitsyn 5035a99113 Manually created dynamic links should be subject to allowed/blocked check (#5853)
* Fix implementation.

Fix unit tests.

Remove duplicate method.

Add comment.

Add unit tests.

Use deprecated annotation.

Fix the comment.

* Make changes additive.

* Address review comments.

* Review changes.

* Check data before serialization.

* Minor fix.

* Post rebase fix.

* Post rebase fix 2.

* Fix styling.

* Fix type.

* Post rebase fix.

* Remove kClientID.

* Code review comment addressed. Get rid of code duplication.
2020-12-07 09:26:52 -08:00
Maksym Malyhin 57123ae0d5 Update clang-format to 11 (#6905)
* Update clang-format to 11

* Upgrade clang format

* Install clang-format@11

* Update readme

* brew update
2020-11-05 12:58:48 -05:00
Eldhose M Babu 594be97236 Adding test to make sure pending dynamic link is getting passed to App delegate method. (#6819)
Adding unit test to make sure the pending dynamic link is getting delivered to specific method in App delegate.
2020-10-26 10:27:38 -07:00
Eldhose M Babu 881ba5d597 Fixed broken callback to AppDelegate (#6800)
Fixed broken callback to AppDelegate after retrieving a dynamic link during fresh app start.
The AppDelegate call was broken in PR : #6517

Reverting to the old implementation of dynamic link passing to App delegate with changes to remove iOS 9 checks.
Using new "openURL" method instead of the deprecated one.
Clean up in the sample app pod file.
2020-10-21 14:53:24 -07:00
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 204f483225 Add static-framework testing to CI (#6599) 2020-09-30 10:38:22 -07:00
Paul Beusterien f2bcd5d82b Make all GoogleUtilities APIs public (#6588) 2020-09-29 07:26:10 -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
Eldhose M Babu dea710957d Create Readme.md file for having release notes (#6023)
Create Readme.md file for having release notes

For Dynamic links iOS SDK, we don't have a place to communicate the latest changes in the release to 3p developers. 

Adding a readme.md file to inform developers on the recent changes in SDK release and other info that developers should be aware of.
2020-07-13 14:36:01 -07:00
Nick Cooke b13358ff46 Update DL Changelog for 5941 (#5965)
* Update DL Changelog for 5941

* Resolved feedback
2020-07-02 15:25:38 -04: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 ff8061d297 FDL Sample App: Fixing imports and Pod file (#5952)
* Fixing imports and Pod file
2020-07-01 12:22:27 -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 d653c9584c Update copyright presubmit and fix 2020 copyrights (#5944) 2020-06-29 13:16:19 -07:00
Paul Beusterien 87a1b7de5e M74 changelogs (#5921) 2020-06-25 16:34:03 -07:00
Paul Beusterien 3f556ddb9e Update GoogleUtilities' clients with repo-relative imports (#5824) 2020-06-16 09:05:29 -07:00
Paul Beusterien 8d4c0f4e66 Core Changelog and version updates (#5781) 2020-06-09 17:07:32 -07: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
Maksym Malyhin 313af2dfd1 Dynamic Links changelog M64 M67 (#5142) 2020-03-18 11:31:47 -04:00
Paul Beusterien 921184edf1 Fix import path for copybara (#4824) 2020-02-05 06:31:30 -08:00
dmandar e15350a7e6 Get the FDL app running with the new provisioning profile, entitlemen… (#4783)
* Get the FDL app running with the new provisioning profile, entitlements and info.plist entries.

* Minor: Add newline at end of file.

* Minor: Add newline.

* Minor: Update style.

* Update copyright notices.

* Handle continueUserActivity in the scene delegate.

* Update copyright notice year.
2020-01-31 12:34:21 -08: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