FIRDLDefaultRetrievalProcessV2.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright 2018 Google
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import "FirebaseDynamicLinks/Sources/FIRDLRetrievalProcessProtocols.h"
  17. #import <Foundation/Foundation.h>
  18. @class FIRDynamicLinkNetworking;
  19. NS_ASSUME_NONNULL_BEGIN
  20. /**
  21. Class to encapsulate logic related to retrieving pending dynamic link.
  22. In V2 changed comparing to FIRDLDefaultRetrievalProcess:
  23. - removed Java Script fingerprint and replaced by passing device parametres directly to endpoint;
  24. - added device model name to endpoint;
  25. - added handling of iPhone Apps running in compatibility mode on iPad.
  26. */
  27. @interface FIRDLDefaultRetrievalProcessV2 : NSObject <FIRDLRetrievalProcessProtocol>
  28. - (instancetype)initWithNetworkingService:(FIRDynamicLinkNetworking *)networkingService
  29. clientID:(NSString *)clientID
  30. URLScheme:(NSString *)URLScheme
  31. APIKey:(NSString *)APIKey
  32. FDLSDKVersion:(NSString *)FDLSDKVersion
  33. delegate:(id<FIRDLRetrievalProcessDelegate>)delegate
  34. NS_DESIGNATED_INITIALIZER;
  35. - (instancetype)init NS_UNAVAILABLE;
  36. @end
  37. NS_ASSUME_NONNULL_END