فهرست منبع

create firebase messaging folder (#5445)

Chen Liang 6 سال پیش
والد
کامیت
843dc9c37d
100فایلهای تغییر یافته به همراه155 افزوده شده و 936 حذف شده
  1. 3 3
      .github/workflows/messaging.yml
  2. 1 0
      .gitignore
  3. 2 2
      Dangerfile
  4. 0 27
      Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard
  5. 0 27
      Example/Messaging/App/iOS/Base.lproj/Main.storyboard
  6. 0 23
      Example/Messaging/App/iOS/FIRAppDelegate.h
  7. 0 57
      Example/Messaging/App/iOS/FIRAppDelegate.m
  8. 0 21
      Example/Messaging/App/iOS/FIRViewController.h
  9. 0 33
      Example/Messaging/App/iOS/FIRViewController.m
  10. 0 31
      Example/Messaging/App/iOS/NotificationService/Info.plist
  11. 0 21
      Example/Messaging/App/iOS/NotificationService/NotificationService.h
  12. 0 47
      Example/Messaging/App/iOS/NotificationService/NotificationService.m
  13. 0 22
      Example/Messaging/App/iOS/main.m
  14. 0 21
      Example/Messaging/App/tvOS/AppDelegate.h
  15. 0 59
      Example/Messaging/App/tvOS/AppDelegate.m
  16. 0 11
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
  17. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json
  18. 0 17
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json
  19. 0 11
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
  20. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json
  21. 0 11
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
  22. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json
  23. 0 16
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json
  24. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json
  25. 0 17
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json
  26. 0 16
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json
  27. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json
  28. 0 16
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json
  29. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json
  30. 0 32
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json
  31. 0 24
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json
  32. 0 24
      Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json
  33. 0 6
      Example/Messaging/App/tvOS/Assets.xcassets/Contents.json
  34. 0 22
      Example/Messaging/App/tvOS/Assets.xcassets/Launch Image.launchimage/Contents.json
  35. 0 28
      Example/Messaging/App/tvOS/Base.lproj/Main.storyboard
  36. 0 32
      Example/Messaging/App/tvOS/Info.plist
  37. 0 19
      Example/Messaging/App/tvOS/ViewController.h
  38. 0 33
      Example/Messaging/App/tvOS/ViewController.m
  39. 0 22
      Example/Messaging/App/tvOS/main.m
  40. 7 7
      FirebaseMessaging.podspec
  41. 0 0
      FirebaseMessaging/CHANGELOG.md
  42. 0 0
      FirebaseMessaging/Sources/FIRMMessageCode.h
  43. 16 16
      FirebaseMessaging/Sources/FIRMessaging.m
  44. 0 0
      FirebaseMessaging/Sources/FIRMessagingAnalytics.h
  45. 2 2
      FirebaseMessaging/Sources/FIRMessagingAnalytics.m
  46. 0 0
      FirebaseMessaging/Sources/FIRMessagingClient.h
  47. 12 12
      FirebaseMessaging/Sources/FIRMessagingClient.m
  48. 0 0
      FirebaseMessaging/Sources/FIRMessagingCodedInputStream.h
  49. 3 3
      FirebaseMessaging/Sources/FIRMessagingCodedInputStream.m
  50. 0 0
      FirebaseMessaging/Sources/FIRMessagingConnection.h
  51. 13 13
      FirebaseMessaging/Sources/FIRMessagingConnection.m
  52. 0 0
      FirebaseMessaging/Sources/FIRMessagingConstants.h
  53. 1 1
      FirebaseMessaging/Sources/FIRMessagingConstants.m
  54. 0 0
      FirebaseMessaging/Sources/FIRMessagingContextManagerService.h
  55. 4 4
      FirebaseMessaging/Sources/FIRMessagingContextManagerService.m
  56. 0 0
      FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h
  57. 16 16
      FirebaseMessaging/Sources/FIRMessagingDataMessageManager.m
  58. 0 0
      FirebaseMessaging/Sources/FIRMessagingDefines.h
  59. 0 0
      FirebaseMessaging/Sources/FIRMessagingDelayedMessageQueue.h
  60. 5 5
      FirebaseMessaging/Sources/FIRMessagingDelayedMessageQueue.m
  61. 2 2
      FirebaseMessaging/Sources/FIRMessagingExtensionHelper.m
  62. 0 0
      FirebaseMessaging/Sources/FIRMessagingLogger.h
  63. 1 1
      FirebaseMessaging/Sources/FIRMessagingLogger.m
  64. 0 0
      FirebaseMessaging/Sources/FIRMessagingPacketQueue.h
  65. 2 2
      FirebaseMessaging/Sources/FIRMessagingPacketQueue.m
  66. 1 1
      FirebaseMessaging/Sources/FIRMessagingPendingTopicsList.h
  67. 5 5
      FirebaseMessaging/Sources/FIRMessagingPendingTopicsList.m
  68. 0 0
      FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.h
  69. 2 2
      FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.m
  70. 0 0
      FirebaseMessaging/Sources/FIRMessagingPubSub.h
  71. 9 9
      FirebaseMessaging/Sources/FIRMessagingPubSub.m
  72. 1 1
      FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.h
  73. 5 5
      FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.m
  74. 1 1
      FirebaseMessaging/Sources/FIRMessagingReceiver.h
  75. 4 4
      FirebaseMessaging/Sources/FIRMessagingReceiver.m
  76. 0 0
      FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.h
  77. 5 5
      FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.m
  78. 0 0
      FirebaseMessaging/Sources/FIRMessagingRmqManager.h
  79. 8 8
      FirebaseMessaging/Sources/FIRMessagingRmqManager.m
  80. 0 0
      FirebaseMessaging/Sources/FIRMessagingSecureSocket.h
  81. 5 5
      FirebaseMessaging/Sources/FIRMessagingSecureSocket.m
  82. 0 0
      FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.h
  83. 8 8
      FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.m
  84. 1 1
      FirebaseMessaging/Sources/FIRMessagingTopicOperation.h
  85. 5 5
      FirebaseMessaging/Sources/FIRMessagingTopicOperation.m
  86. 0 0
      FirebaseMessaging/Sources/FIRMessagingTopicsCommon.h
  87. 0 0
      FirebaseMessaging/Sources/FIRMessagingUtilities.h
  88. 3 3
      FirebaseMessaging/Sources/FIRMessagingUtilities.m
  89. 0 0
      FirebaseMessaging/Sources/FIRMessagingVersionUtilities.h
  90. 2 2
      FirebaseMessaging/Sources/FIRMessagingVersionUtilities.m
  91. 0 0
      FirebaseMessaging/Sources/FIRMessaging_Private.h
  92. 0 0
      FirebaseMessaging/Sources/FirebaseMessaging.h
  93. 0 0
      FirebaseMessaging/Sources/NSDictionary+FIRMessaging.h
  94. 0 0
      FirebaseMessaging/Sources/NSDictionary+FIRMessaging.m
  95. 0 0
      FirebaseMessaging/Sources/NSError+FIRMessaging.h
  96. 0 0
      FirebaseMessaging/Sources/NSError+FIRMessaging.m
  97. 0 0
      FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h
  98. 0 0
      FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.m
  99. 0 0
      FirebaseMessaging/Sources/Protos/GtalkExtensions.pbobjc.h
  100. 0 0
      FirebaseMessaging/Sources/Protos/GtalkExtensions.pbobjc.m

+ 3 - 3
.github/workflows/messaging.yml

@@ -3,7 +3,7 @@ name: messaging
 on:
   pull_request:
     paths:
-    - 'Firebase/Messaging/**'
+    - 'FirebaseMessaging/**'
     - 'Examples/Messaging/Sample/**'
 
     #Podspec
@@ -26,9 +26,9 @@ jobs:
       run: scripts/setup_bundler.sh
     - name: Install Secret GoogleService-Info.plist
       run: |
-        mkdir Example/Messaging/IntegrationTests/Resources
+        mkdir FirebaseMessaging/Tests/IntegrationTests/Resources
         scripts/decrypt_gha_secret.sh scripts/gha-encrypted/messaging-sample-plist.gpg \
-          Example/Messaging/IntegrationTests/Resources/GoogleService-Info.plist "$plist_secret"
+          FirebaseMessaging/Tests/IntegrationTests/Resources/GoogleService-Info.plist "$plist_secret"
     - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
       run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Messaging all)
 

+ 1 - 0
.gitignore

@@ -18,6 +18,7 @@ Example/InstanceID/Resources/GoogleService-Info.plist
 
 # FirebaseMessaging integration tests GoogleService-Info.plist
 Example/Messaging/Resources/GoogleService-Info.plist
+FirebaseMessaging/Tests/IntegrationTests/Resources/GoogleService-Info.plist
 # FirebaseMessaging test app GoogleService-Info.plist
 Example/Messaging/Sample/Sample/GoogleService-Info.plist
 

+ 2 - 2
Dangerfile

@@ -95,8 +95,8 @@ has_license_changes = didModify(["LICENSE"])
 @has_installations_api_changes = hasChangesIn("FirebaseInstallations/Source/Library/Public/")
 @has_instanceid_changes = hasChangesIn("Firebase/InstanceID/")
 @has_instanceid_api_changes = hasChangesIn("Firebase/InstanceID/Public/")
-@has_messaging_changes = hasChangesIn("Firebase/Messaging/")
-@has_messaging_api_changes = hasChangesIn("Firebase/Messaging/Public/")
+@has_messaging_changes = hasChangesIn("FirebaseMessaging/")
+@has_messaging_api_changes = hasChangesIn("FirebaseMessaging/Sources/Public/")
 @has_remoteconfig_changes = hasChangesIn("FirebaseRemoteConfig/")
 @has_remoteconfig_api_changes = hasChangesIn("FirebaseRemoteConfig/Sources/Public/")
 @has_storage_changes = hasChangesIn("FirebaseStorage/")

+ 0 - 27
Example/Messaging/App/iOS/Base.lproj/LaunchScreen.storyboard

@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>

+ 0 - 27
Example/Messaging/App/iOS/Base.lproj/Main.storyboard

@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="whP-gf-Uak">
-    <dependencies>
-        <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="wQg-tq-qST">
-            <objects>
-                <viewController id="whP-gf-Uak" customClass="FIRViewController" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/>
-                        <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="305" y="433"/>
-        </scene>
-    </scenes>
-</document>

+ 0 - 23
Example/Messaging/App/iOS/FIRAppDelegate.h

@@ -1,23 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-@import UIKit;
-
-@interface FIRAppDelegate : UIResponder <UIApplicationDelegate>
-
-@property(strong, nonatomic) UIWindow *window;
-
-@end

+ 0 - 57
Example/Messaging/App/iOS/FIRAppDelegate.m

@@ -1,57 +0,0 @@
-// Copyright 2017 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import "FIRAppDelegate.h"
-
-#import <FirebaseCore/FIRApp.h>
-
-@implementation FIRAppDelegate
-
-- (BOOL)application:(UIApplication *)application
-    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
-  return YES;
-}
-
-- (void)applicationWillResignActive:(UIApplication *)application {
-  // Sent when the application is about to move from active to inactive state. This can occur for
-  // certain types of temporary interruptions (such as an incoming phone call or SMS message) or
-  // when the user quits the application and it begins the transition to the background state.
-  // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame
-  // rates. Games should use this method to pause the game.
-}
-
-- (void)applicationDidEnterBackground:(UIApplication *)application {
-  // Use this method to release shared resources, save user data, invalidate timers, and store
-  // enough application state information to restore your application to its current state in case
-  // it is terminated later.
-  // If your application supports background execution, this method is called instead of
-  // applicationWillTerminate: when the user quits.
-}
-
-- (void)applicationWillEnterForeground:(UIApplication *)application {
-  // Called as part of the transition from the background to the inactive state; here you can undo
-  // many of the changes made on entering the background.
-}
-
-- (void)applicationDidBecomeActive:(UIApplication *)application {
-  // Restart any tasks that were paused (or not yet started) while the application was inactive. If
-  // the application was previously in the background, optionally refresh the user interface.
-}
-
-- (void)applicationWillTerminate:(UIApplication *)application {
-  // Called when the application is about to terminate. Save data if appropriate. See also
-  // applicationDidEnterBackground:.
-}
-
-@end

+ 0 - 21
Example/Messaging/App/iOS/FIRViewController.h

@@ -1,21 +0,0 @@
-/*
- * Copyright 2017 Google
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-@import UIKit;
-
-@interface FIRViewController : UIViewController
-
-@end

+ 0 - 33
Example/Messaging/App/iOS/FIRViewController.m

@@ -1,33 +0,0 @@
-// Copyright 2017 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import "FIRViewController.h"
-
-@interface FIRViewController ()
-
-@end
-
-@implementation FIRViewController
-
-- (void)viewDidLoad {
-  [super viewDidLoad];
-  // Do any additional setup after loading the view, typically from a nib.
-}
-
-- (void)didReceiveMemoryWarning {
-  [super didReceiveMemoryWarning];
-  // Dispose of any resources that can be recreated.
-}
-
-@end

+ 0 - 31
Example/Messaging/App/iOS/NotificationService/Info.plist

@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>$(DEVELOPMENT_LANGUAGE)</string>
-	<key>CFBundleDisplayName</key>
-	<string>Messaging_NotificationService_iOS</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>XPC!</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>NSExtension</key>
-	<dict>
-		<key>NSExtensionPointIdentifier</key>
-		<string>com.apple.usernotifications.service</string>
-		<key>NSExtensionPrincipalClass</key>
-		<string>NotificationService</string>
-	</dict>
-</dict>
-</plist>

+ 0 - 21
Example/Messaging/App/iOS/NotificationService/NotificationService.h

@@ -1,21 +0,0 @@
-/*
- * Copyright 2019 Google
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#import <UserNotifications/UserNotifications.h>
-
-@interface NotificationService : UNNotificationServiceExtension
-
-@end

+ 0 - 47
Example/Messaging/App/iOS/NotificationService/NotificationService.m

@@ -1,47 +0,0 @@
-/*
- * Copyright 2019 Google
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#import "NotificationService.h"
-
-@interface NotificationService ()
-
-@property(nonatomic, strong) void (^contentHandler)(UNNotificationContent *contentToDeliver);
-@property(nonatomic, strong) UNMutableNotificationContent *bestAttemptContent;
-
-@end
-
-@implementation NotificationService
-
-- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request
-                   withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler {
-  self.contentHandler = contentHandler;
-  self.bestAttemptContent = [request.content mutableCopy];
-
-  // Modify the notification content here...
-  self.bestAttemptContent.title =
-      [NSString stringWithFormat:@"%@ [modified]", self.bestAttemptContent.title];
-
-  self.contentHandler(self.bestAttemptContent);
-}
-
-- (void)serviceExtensionTimeWillExpire {
-  // Called just before the extension will be terminated by the system.
-  // Use this as an opportunity to deliver your "best attempt" at modified content, otherwise the
-  // original push payload will be used.
-  self.contentHandler(self.bestAttemptContent);
-}
-
-@end

+ 0 - 22
Example/Messaging/App/iOS/main.m

@@ -1,22 +0,0 @@
-// Copyright 2017 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-@import UIKit;
-#import "FIRAppDelegate.h"
-
-int main(int argc, char* argv[]) {
-  @autoreleasepool {
-    return UIApplicationMain(argc, argv, nil, NSStringFromClass([FIRAppDelegate class]));
-  }
-}

+ 0 - 21
Example/Messaging/App/tvOS/AppDelegate.h

@@ -1,21 +0,0 @@
-// Copyright 2019 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import <UIKit/UIKit.h>
-
-@interface AppDelegate : UIResponder <UIApplicationDelegate>
-
-@property(strong, nonatomic) UIWindow *window;
-
-@end

+ 0 - 59
Example/Messaging/App/tvOS/AppDelegate.m

@@ -1,59 +0,0 @@
-// Copyright 2019 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import "AppDelegate.h"
-
-@interface AppDelegate ()
-
-@end
-
-@implementation AppDelegate
-
-- (BOOL)application:(UIApplication *)application
-    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
-  // Override point for customization after application launch.
-  return YES;
-}
-
-- (void)applicationWillResignActive:(UIApplication *)application {
-  // Sent when the application is about to move from active to inactive state. This can occur for
-  // certain types of temporary interruptions (such as an incoming phone call or SMS message) or
-  // when the user quits the application and it begins the transition to the background state. Use
-  // this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates.
-  // Games should use this method to pause the game.
-}
-
-- (void)applicationDidEnterBackground:(UIApplication *)application {
-  // Use this method to release shared resources, save user data, invalidate timers, and store
-  // enough application state information to restore your application to its current state in case
-  // it is terminated later. If your application supports background execution, this method is
-  // called instead of applicationWillTerminate: when the user quits.
-}
-
-- (void)applicationWillEnterForeground:(UIApplication *)application {
-  // Called as part of the transition from the background to the active state; here you can undo
-  // many of the changes made on entering the background.
-}
-
-- (void)applicationDidBecomeActive:(UIApplication *)application {
-  // Restart any tasks that were paused (or not yet started) while the application was inactive. If
-  // the application was previously in the background, optionally refresh the user interface.
-}
-
-- (void)applicationWillTerminate:(UIApplication *)application {
-  // Called when the application is about to terminate. Save data if appropriate. See also
-  // applicationDidEnterBackground:.
-}
-
-@end

+ 0 - 11
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json

@@ -1,11 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 17
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json

@@ -1,17 +0,0 @@
-{
-  "layers" : [
-    {
-      "filename" : "Front.imagestacklayer"
-    },
-    {
-      "filename" : "Middle.imagestacklayer"
-    },
-    {
-      "filename" : "Back.imagestacklayer"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 11
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json

@@ -1,11 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 11
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json

@@ -1,11 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 16
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json

@@ -1,16 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 17
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json

@@ -1,17 +0,0 @@
-{
-  "layers" : [
-    {
-      "filename" : "Front.imagestacklayer"
-    },
-    {
-      "filename" : "Middle.imagestacklayer"
-    },
-    {
-      "filename" : "Back.imagestacklayer"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 16
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json

@@ -1,16 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 16
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json

@@ -1,16 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 32
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json

@@ -1,32 +0,0 @@
-{
-  "assets" : [
-    {
-      "size" : "1280x768",
-      "idiom" : "tv",
-      "filename" : "App Icon - App Store.imagestack",
-      "role" : "primary-app-icon"
-    },
-    {
-      "size" : "400x240",
-      "idiom" : "tv",
-      "filename" : "App Icon.imagestack",
-      "role" : "primary-app-icon"
-    },
-    {
-      "size" : "2320x720",
-      "idiom" : "tv",
-      "filename" : "Top Shelf Image Wide.imageset",
-      "role" : "top-shelf-image-wide"
-    },
-    {
-      "size" : "1920x720",
-      "idiom" : "tv",
-      "filename" : "Top Shelf Image.imageset",
-      "role" : "top-shelf-image"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 24
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json

@@ -1,24 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "tv-marketing",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv-marketing",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 24
Example/Messaging/App/tvOS/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json

@@ -1,24 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "tv",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "tv-marketing",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "tv-marketing",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 6
Example/Messaging/App/tvOS/Assets.xcassets/Contents.json

@@ -1,6 +0,0 @@
-{
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 22
Example/Messaging/App/tvOS/Assets.xcassets/Launch Image.launchimage/Contents.json

@@ -1,22 +0,0 @@
-{
-  "images" : [
-    {
-      "orientation" : "landscape",
-      "idiom" : "tv",
-      "extent" : "full-screen",
-      "minimum-system-version" : "11.0",
-      "scale" : "2x"
-    },
-    {
-      "orientation" : "landscape",
-      "idiom" : "tv",
-      "extent" : "full-screen",
-      "minimum-system-version" : "9.0",
-      "scale" : "1x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

+ 0 - 28
Example/Messaging/App/tvOS/Base.lproj/Main.storyboard

@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder.AppleTV.Storyboard" version="3.0" toolsVersion="13122.16" systemVersion="17A278a" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
-        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
-        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="1920" height="1080"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
-                        <viewLayoutGuide key="safeArea" id="wu6-TO-1qx"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>

+ 0 - 32
Example/Messaging/App/tvOS/Info.plist

@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>$(DEVELOPMENT_LANGUAGE)</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>arm64</string>
-	</array>
-	<key>UIUserInterfaceStyle</key>
-	<string>Automatic</string>
-</dict>
-</plist>

+ 0 - 19
Example/Messaging/App/tvOS/ViewController.h

@@ -1,19 +0,0 @@
-// Copyright 2019 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import <UIKit/UIKit.h>
-
-@interface ViewController : UIViewController
-
-@end

+ 0 - 33
Example/Messaging/App/tvOS/ViewController.m

@@ -1,33 +0,0 @@
-// Copyright 2019 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import "ViewController.h"
-
-@interface ViewController ()
-
-@end
-
-@implementation ViewController
-
-- (void)viewDidLoad {
-  [super viewDidLoad];
-  // Do any additional setup after loading the view, typically from a nib.
-}
-
-- (void)didReceiveMemoryWarning {
-  [super didReceiveMemoryWarning];
-  // Dispose of any resources that can be recreated.
-}
-
-@end

+ 0 - 22
Example/Messaging/App/tvOS/main.m

@@ -1,22 +0,0 @@
-// Copyright 2019 Google
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-#import <UIKit/UIKit.h>
-#import "AppDelegate.h"
-
-int main(int argc, char* argv[]) {
-  @autoreleasepool {
-    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
-  }
-}

+ 7 - 7
FirebaseMessaging.podspec

@@ -28,10 +28,10 @@ device, and it is completely free.
   s.static_framework = true
   s.prefix_header_file = false
 
-  base_dir = "Firebase/Messaging/"
-  s.source_files = base_dir + '**/*.[mh]'
-  s.requires_arc = base_dir + '*.m'
-  s.public_header_files = base_dir + 'Public/*.h'
+  base_dir = "FirebaseMessaging/"
+  s.source_files = base_dir + 'Sources/**/*.[mh]'
+  s.requires_arc = base_dir + 'Sources/*.m'
+  s.public_header_files = base_dir + 'Sources/Public/*.h'
   s.library = 'sqlite3'
   s.pod_target_xcconfig = {
     'GCC_C_LANGUAGE_STANDARD' => 'c99',
@@ -56,7 +56,7 @@ device, and it is completely free.
 
   s.test_spec 'unit' do |unit_tests|
     unit_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
-    unit_tests.source_files = 'Example/Messaging/Tests/*.{m,h,swift}'
+    unit_tests.source_files = 'FirebaseMessaging/Tests/UnitTests/*.{m,h,swift}'
     unit_tests.requires_app_host = true
     unit_tests.pod_target_xcconfig = {
      'CLANG_ENABLE_OBJC_WEAK' => 'YES'
@@ -66,8 +66,8 @@ device, and it is completely free.
 
   s.test_spec 'integration' do |int_tests|
     int_tests.platforms = {:ios => '8.0', :osx => '10.11', :tvos => '10.0'}
-    int_tests.source_files = 'Example/Messaging/IntegrationTests/*.swift'
+    int_tests.source_files = 'FirebaseMessaging/Tests/IntegrationTests/*.swift'
     int_tests.requires_app_host = true
-    int_tests.resources = 'Example/Messaging/IntegrationTests/Resources/GoogleService-Info.plist'
+    int_tests.resources = 'FirebaseMessaging/Tests/IntegrationTests/Resources/GoogleService-Info.plist'
   end
 end

+ 0 - 0
Firebase/Messaging/CHANGELOG.md → FirebaseMessaging/CHANGELOG.md


+ 0 - 0
Firebase/Messaging/FIRMMessageCode.h → FirebaseMessaging/Sources/FIRMMessageCode.h


+ 16 - 16
Firebase/Messaging/FIRMessaging.m → FirebaseMessaging/Sources/FIRMessaging.m

@@ -32,22 +32,22 @@
 #import <GoogleUtilities/GULReachabilityChecker.h>
 #import <GoogleUtilities/GULUserDefaults.h>
 
-#import "Firebase/Messaging/FIRMessagingAnalytics.h"
-#import "Firebase/Messaging/FIRMessagingClient.h"
-#import "Firebase/Messaging/FIRMessagingConstants.h"
-#import "Firebase/Messaging/FIRMessagingContextManagerService.h"
-#import "Firebase/Messaging/FIRMessagingDataMessageManager.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPubSub.h"
-#import "Firebase/Messaging/FIRMessagingReceiver.h"
-#import "Firebase/Messaging/FIRMessagingRemoteNotificationsProxy.h"
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
-#import "Firebase/Messaging/FIRMessagingSyncMessageManager.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/FIRMessagingVersionUtilities.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/FIRMessagingAnalytics.h"
+#import "FirebaseMessaging/Sources/FIRMessagingClient.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingContextManagerService.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPubSub.h"
+#import "FirebaseMessaging/Sources/FIRMessagingReceiver.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingVersionUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
 
 static NSString *const kFIRMessagingMessageViaAPNSRootKey = @"aps";
 static NSString *const kFIRMessagingReachabilityHostname = @"www.google.com";

+ 0 - 0
Firebase/Messaging/FIRMessagingAnalytics.h → FirebaseMessaging/Sources/FIRMessagingAnalytics.h


+ 2 - 2
Firebase/Messaging/FIRMessagingAnalytics.m → FirebaseMessaging/Sources/FIRMessagingAnalytics.m

@@ -14,14 +14,14 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingAnalytics.h"
+#import "FirebaseMessaging/Sources/FIRMessagingAnalytics.h"
 
 #import <FirebaseAnalyticsInterop/FIRInteropEventNames.h>
 #import <FirebaseAnalyticsInterop/FIRInteropParameterNames.h>
 #import <GoogleUtilities/GULAppDelegateSwizzler.h>
 #import <GoogleUtilities/GULAppEnvironmentUtil.h>
 
-#import "Firebase/Messaging/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
 
 static NSString *const kLogTag = @"FIRMessagingAnalytics";
 

+ 0 - 0
Firebase/Messaging/FIRMessagingClient.h → FirebaseMessaging/Sources/FIRMessagingClient.h


+ 12 - 12
Firebase/Messaging/FIRMessagingClient.m → FirebaseMessaging/Sources/FIRMessagingClient.m

@@ -14,24 +14,24 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingClient.h"
+#import "FirebaseMessaging/Sources/FIRMessagingClient.h"
 
-#import "Firebase/Messaging/Protos/GtalkCore.pbobjc.h"
+#import "FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h"
 
 #import <FirebaseInstanceID/FIRInstanceID_Private.h>
 #import <FirebaseMessaging/FIRMessaging.h>
 #import <GoogleUtilities/GULReachabilityChecker.h>
 
-#import "Firebase/Messaging/FIRMessagingConnection.h"
-#import "Firebase/Messaging/FIRMessagingConstants.h"
-#import "Firebase/Messaging/FIRMessagingDataMessageManager.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPubSubRegistrar.h"
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
-#import "Firebase/Messaging/FIRMessagingTopicsCommon.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConnection.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingTopicsCommon.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
 
 static const NSTimeInterval kConnectTimeoutInterval = 40.0;
 static const NSTimeInterval kReconnectDelayInSeconds = 2 * 60;  // 2 minutes

+ 0 - 0
Firebase/Messaging/FIRMessagingCodedInputStream.h → FirebaseMessaging/Sources/FIRMessagingCodedInputStream.h


+ 3 - 3
Firebase/Messaging/FIRMessagingCodedInputStream.m → FirebaseMessaging/Sources/FIRMessagingCodedInputStream.m

@@ -14,10 +14,10 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingCodedInputStream.h"
+#import "FirebaseMessaging/Sources/FIRMessagingCodedInputStream.h"
 
-#import "Firebase/Messaging/FIRMMessageCode.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMMessageCode.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
 
 typedef struct {
   const void *bytes;

+ 0 - 0
Firebase/Messaging/FIRMessagingConnection.h → FirebaseMessaging/Sources/FIRMessagingConnection.h


+ 13 - 13
Firebase/Messaging/FIRMessagingConnection.m → FirebaseMessaging/Sources/FIRMessagingConnection.m

@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Google
+ * Copyright 2020 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,21 +14,21 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingConnection.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConnection.h"
 
 #import <FirebaseMessaging/FIRMessaging.h>
 
-#import "Firebase/Messaging/Protos/GtalkCore.pbobjc.h"
-#import "Firebase/Messaging/Protos/GtalkExtensions.pbobjc.h"
-
-#import "Firebase/Messaging/FIRMessagingDataMessageManager.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
-#import "Firebase/Messaging/FIRMessagingSecureSocket.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/FIRMessagingVersionUtilities.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h"
+#import "FirebaseMessaging/Sources/Protos/GtalkExtensions.pbobjc.h"
+
+#import "FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingSecureSocket.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingVersionUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
 
 static NSInteger const kIqSelectiveAck = 12;
 static NSInteger const kIqStreamAck = 13;

+ 0 - 0
Firebase/Messaging/FIRMessagingConstants.h → FirebaseMessaging/Sources/FIRMessagingConstants.h


+ 1 - 1
Firebase/Messaging/FIRMessagingConstants.m → FirebaseMessaging/Sources/FIRMessagingConstants.m

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
 
 NSString *const kFIRMessagingRawDataKey = @"rawData";
 NSString *const kFIRMessagingCollapseKey = @"collapse_key";

+ 0 - 0
Firebase/Messaging/FIRMessagingContextManagerService.h → FirebaseMessaging/Sources/FIRMessagingContextManagerService.h


+ 4 - 4
Firebase/Messaging/FIRMessagingContextManagerService.m → FirebaseMessaging/Sources/FIRMessagingContextManagerService.m

@@ -14,11 +14,11 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingContextManagerService.h"
+#import "FirebaseMessaging/Sources/FIRMessagingContextManagerService.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
 
 #import <GoogleUtilities/GULAppDelegateSwizzler.h>
 

+ 0 - 0
Firebase/Messaging/FIRMessagingDataMessageManager.h → FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h


+ 16 - 16
Firebase/Messaging/FIRMessagingDataMessageManager.m → FirebaseMessaging/Sources/FIRMessagingDataMessageManager.m

@@ -14,22 +14,22 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingDataMessageManager.h"
-
-#import "Firebase/Messaging/Protos/GtalkCore.pbobjc.h"
-
-#import "Firebase/Messaging/FIRMessagingClient.h"
-#import "Firebase/Messaging/FIRMessagingConnection.h"
-#import "Firebase/Messaging/FIRMessagingConstants.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingDelayedMessageQueue.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingReceiver.h"
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
-#import "Firebase/Messaging/FIRMessagingSyncMessageManager.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h"
+
+#import "FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h"
+
+#import "FirebaseMessaging/Sources/FIRMessagingClient.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConnection.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDelayedMessageQueue.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingReceiver.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
 
 static const int kMaxAppDataSizeDefault = 4 * 1024;  // 4k
 static const int kMinDelaySeconds = 1;               // 1 second

+ 0 - 0
Firebase/Messaging/FIRMessagingDefines.h → FirebaseMessaging/Sources/FIRMessagingDefines.h


+ 0 - 0
Firebase/Messaging/FIRMessagingDelayedMessageQueue.h → FirebaseMessaging/Sources/FIRMessagingDelayedMessageQueue.h


+ 5 - 5
Firebase/Messaging/FIRMessagingDelayedMessageQueue.m → FirebaseMessaging/Sources/FIRMessagingDelayedMessageQueue.m

@@ -14,13 +14,13 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingDelayedMessageQueue.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDelayedMessageQueue.h"
 
-#import "Firebase/Messaging/Protos/GtalkCore.pbobjc.h"
+#import "FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
 
 static const int kMaxQueuedMessageCount = 10;
 

+ 2 - 2
Firebase/Messaging/FIRMessagingExtensionHelper.m → FirebaseMessaging/Sources/FIRMessagingExtensionHelper.m

@@ -16,8 +16,8 @@
 
 #import <FirebaseMessaging/FIRMessagingExtensionHelper.h>
 
-#import "Firebase/Messaging/FIRMMessageCode.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMMessageCode.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
 
 static NSString *const kPayloadOptionsName = @"fcm_options";
 static NSString *const kPayloadOptionsImageURLName = @"image";

+ 0 - 0
Firebase/Messaging/FIRMessagingLogger.h → FirebaseMessaging/Sources/FIRMessagingLogger.h


+ 1 - 1
Firebase/Messaging/FIRMessagingLogger.m → FirebaseMessaging/Sources/FIRMessagingLogger.m

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
 
 #import <FirebaseCore/FIRLogger.h>
 

+ 0 - 0
Firebase/Messaging/FIRMessagingPacketQueue.h → FirebaseMessaging/Sources/FIRMessagingPacketQueue.h


+ 2 - 2
Firebase/Messaging/FIRMessagingPacketQueue.m → FirebaseMessaging/Sources/FIRMessagingPacketQueue.m

@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingPacketQueue.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPacketQueue.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
 
 @interface FIRMessagingPacket ()
 

+ 1 - 1
Firebase/Messaging/FIRMessagingPendingTopicsList.h → FirebaseMessaging/Sources/FIRMessagingPendingTopicsList.h

@@ -18,7 +18,7 @@
 
 #import <FirebaseMessaging/FIRMessaging.h>
 
-#import "Firebase/Messaging/FIRMessagingTopicsCommon.h"
+#import "FirebaseMessaging/Sources/FIRMessagingTopicsCommon.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 5 - 5
Firebase/Messaging/FIRMessagingPendingTopicsList.m → FirebaseMessaging/Sources/FIRMessagingPendingTopicsList.m

@@ -14,12 +14,12 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingPendingTopicsList.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPendingTopicsList.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPubSub.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPubSub.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
 
 NSString *const kPendingTopicBatchActionKey = @"action";
 NSString *const kPendingTopicBatchTopicsKey = @"topics";

+ 0 - 0
Firebase/Messaging/FIRMessagingPersistentSyncMessage.h → FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.h


+ 2 - 2
Firebase/Messaging/FIRMessagingPersistentSyncMessage.m → FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.m

@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingPersistentSyncMessage.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
 
 @interface FIRMessagingPersistentSyncMessage ()
 

+ 0 - 0
Firebase/Messaging/FIRMessagingPubSub.h → FirebaseMessaging/Sources/FIRMessagingPubSub.h


+ 9 - 9
Firebase/Messaging/FIRMessagingPubSub.m → FirebaseMessaging/Sources/FIRMessagingPubSub.m

@@ -14,20 +14,20 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingPubSub.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPubSub.h"
 
 #import <FirebaseMessaging/FIRMessaging.h>
 #import <GoogleUtilities/GULSecureCoding.h>
 #import <GoogleUtilities/GULUserDefaults.h>
 
-#import "Firebase/Messaging/FIRMessagingClient.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPendingTopicsList.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
-#import "Firebase/Messaging/NSDictionary+FIRMessaging.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/FIRMessagingClient.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPendingTopicsList.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/NSDictionary+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
 
 static NSString *const kPendingSubscriptionsListKey =
     @"com.firebase.messaging.pending-subscriptions";

+ 1 - 1
Firebase/Messaging/FIRMessagingPubSubRegistrar.h → FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.h

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingTopicOperation.h"
+#import "FirebaseMessaging/Sources/FIRMessagingTopicOperation.h"
 
 @interface FIRMessagingPubSubRegistrar : NSObject
 

+ 5 - 5
Firebase/Messaging/FIRMessagingPubSubRegistrar.m → FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.m

@@ -14,12 +14,12 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingPubSubRegistrar.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingPubSubRegistrar.h"
-#import "Firebase/Messaging/FIRMessagingTopicsCommon.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPubSubRegistrar.h"
+#import "FirebaseMessaging/Sources/FIRMessagingTopicsCommon.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
 
 @interface FIRMessagingPubSubRegistrar ()
 

+ 1 - 1
Firebase/Messaging/FIRMessagingReceiver.h → FirebaseMessaging/Sources/FIRMessagingReceiver.h

@@ -15,7 +15,7 @@
  */
 
 #import <FirebaseMessaging/FIRMessaging.h>
-#import "Firebase/Messaging/FIRMessagingDataMessageManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDataMessageManager.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 4 - 4
Firebase/Messaging/FIRMessagingReceiver.m → FirebaseMessaging/Sources/FIRMessagingReceiver.m

@@ -14,13 +14,13 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingReceiver.h"
+#import "FirebaseMessaging/Sources/FIRMessagingReceiver.h"
 
 #import <FirebaseMessaging/FIRMessaging.h>
 
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
 
 static NSString *const kUpstreamMessageIDUserInfoKey = @"messageID";
 static NSString *const kUpstreamErrorUserInfoKey = @"error";

+ 0 - 0
Firebase/Messaging/FIRMessagingRemoteNotificationsProxy.h → FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.h


+ 5 - 5
Firebase/Messaging/FIRMessagingRemoteNotificationsProxy.m → FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.m

@@ -14,15 +14,15 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingRemoteNotificationsProxy.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRemoteNotificationsProxy.h"
 
 #import <objc/runtime.h>
 
 #import <GoogleUtilities/GULAppDelegateSwizzler.h>
-#import "Firebase/Messaging/FIRMessagingConstants.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/FIRMessaging_Private.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessaging_Private.h"
 
 static void *UserNotificationObserverContext = &UserNotificationObserverContext;
 

+ 0 - 0
Firebase/Messaging/FIRMessagingRmqManager.h → FirebaseMessaging/Sources/FIRMessagingRmqManager.h


+ 8 - 8
Firebase/Messaging/FIRMessagingRmqManager.m → FirebaseMessaging/Sources/FIRMessagingRmqManager.m

@@ -14,17 +14,17 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
 
 #import <sqlite3.h>
 
-#import "Firebase/Messaging/FIRMessagingConstants.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPersistentSyncMessage.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
-#import "Firebase/Messaging/Protos/GtalkCore.pbobjc.h"
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h"
 
 #ifndef _FIRMessagingRmqLogAndExit
 #define _FIRMessagingRmqLogAndExit(stmt, return_value) \

+ 0 - 0
Firebase/Messaging/FIRMessagingSecureSocket.h → FirebaseMessaging/Sources/FIRMessagingSecureSocket.h


+ 5 - 5
Firebase/Messaging/FIRMessagingSecureSocket.m → FirebaseMessaging/Sources/FIRMessagingSecureSocket.m

@@ -14,16 +14,16 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingSecureSocket.h"
+#import "FirebaseMessaging/Sources/FIRMessagingSecureSocket.h"
 
 #import <Protobuf/GPBCodedOutputStream.h>
 #import <Protobuf/GPBMessage.h>
 #import <Protobuf/GPBUtilities.h>
 
-#import "Firebase/Messaging/FIRMessagingCodedInputStream.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPacketQueue.h"
+#import "FirebaseMessaging/Sources/FIRMessagingCodedInputStream.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPacketQueue.h"
 
 static const NSUInteger kMaxBufferLength = 1024 * 1024;      // 1M
 static const NSUInteger kBufferLengthIncrement = 16 * 1024;  // 16k

+ 0 - 0
Firebase/Messaging/FIRMessagingSyncMessageManager.h → FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.h


+ 8 - 8
Firebase/Messaging/FIRMessagingSyncMessageManager.m → FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.m

@@ -14,14 +14,14 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingSyncMessageManager.h"
-
-#import "Firebase/Messaging/FIRMessagingConstants.h"
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingPersistentSyncMessage.h"
-#import "Firebase/Messaging/FIRMessagingRmqManager.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingSyncMessageManager.h"
+
+#import "FirebaseMessaging/Sources/FIRMessagingConstants.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingPersistentSyncMessage.h"
+#import "FirebaseMessaging/Sources/FIRMessagingRmqManager.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
 
 static const int64_t kDefaultSyncMessageTTL = 4 * 7 * 24 * 60 * 60;  // 4 weeks
 // 4 MB of free space is required to persist Sync messages

+ 1 - 1
Firebase/Messaging/FIRMessagingTopicOperation.h → FirebaseMessaging/Sources/FIRMessagingTopicOperation.h

@@ -18,7 +18,7 @@
 
 #import <FirebaseMessaging/FIRMessaging.h>
 
-#import "Firebase/Messaging/FIRMessagingTopicsCommon.h"
+#import "FirebaseMessaging/Sources/FIRMessagingTopicsCommon.h"
 
 NS_ASSUME_NONNULL_BEGIN
 

+ 5 - 5
Firebase/Messaging/FIRMessagingTopicOperation.m → FirebaseMessaging/Sources/FIRMessagingTopicOperation.m

@@ -14,14 +14,14 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingTopicOperation.h"
+#import "FirebaseMessaging/Sources/FIRMessagingTopicOperation.h"
 
 #import <FirebaseInstanceID/FIRInstanceID_Private.h>
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
-#import "Firebase/Messaging/FIRMessagingLogger.h"
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
-#import "Firebase/Messaging/NSError+FIRMessaging.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/NSError+FIRMessaging.h"
 
 static NSString *const kFIRMessagingSubscribeServerHost =
     @"https://iid.googleapis.com/iid/register";

+ 0 - 0
Firebase/Messaging/FIRMessagingTopicsCommon.h → FirebaseMessaging/Sources/FIRMessagingTopicsCommon.h


+ 0 - 0
Firebase/Messaging/FIRMessagingUtilities.h → FirebaseMessaging/Sources/FIRMessagingUtilities.h


+ 3 - 3
Firebase/Messaging/FIRMessagingUtilities.m → FirebaseMessaging/Sources/FIRMessagingUtilities.m

@@ -14,11 +14,11 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingUtilities.h"
 
-#import "Firebase/Messaging/Protos/GtalkCore.pbobjc.h"
+#import "FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h"
 
-#import "Firebase/Messaging/FIRMessagingLogger.h"
+#import "FirebaseMessaging/Sources/FIRMessagingLogger.h"
 
 #import <GoogleUtilities/GULAppEnvironmentUtil.h>
 

+ 0 - 0
Firebase/Messaging/FIRMessagingVersionUtilities.h → FirebaseMessaging/Sources/FIRMessagingVersionUtilities.h


+ 2 - 2
Firebase/Messaging/FIRMessagingVersionUtilities.m → FirebaseMessaging/Sources/FIRMessagingVersionUtilities.m

@@ -14,9 +14,9 @@
  * limitations under the License.
  */
 
-#import "Firebase/Messaging/FIRMessagingVersionUtilities.h"
+#import "FirebaseMessaging/Sources/FIRMessagingVersionUtilities.h"
 
-#import "Firebase/Messaging/FIRMessagingDefines.h"
+#import "FirebaseMessaging/Sources/FIRMessagingDefines.h"
 
 // Convert the macro to a string
 #define STR_EXPAND(x) #x

+ 0 - 0
Firebase/Messaging/FIRMessaging_Private.h → FirebaseMessaging/Sources/FIRMessaging_Private.h


+ 0 - 0
Firebase/Messaging/FirebaseMessaging.h → FirebaseMessaging/Sources/FirebaseMessaging.h


+ 0 - 0
Firebase/Messaging/NSDictionary+FIRMessaging.h → FirebaseMessaging/Sources/NSDictionary+FIRMessaging.h


+ 0 - 0
Firebase/Messaging/NSDictionary+FIRMessaging.m → FirebaseMessaging/Sources/NSDictionary+FIRMessaging.m


+ 0 - 0
Firebase/Messaging/NSError+FIRMessaging.h → FirebaseMessaging/Sources/NSError+FIRMessaging.h


+ 0 - 0
Firebase/Messaging/NSError+FIRMessaging.m → FirebaseMessaging/Sources/NSError+FIRMessaging.m


+ 0 - 0
Firebase/Messaging/Protos/GtalkCore.pbobjc.h → FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.h


+ 0 - 0
Firebase/Messaging/Protos/GtalkCore.pbobjc.m → FirebaseMessaging/Sources/Protos/GtalkCore.pbobjc.m


+ 0 - 0
Firebase/Messaging/Protos/GtalkExtensions.pbobjc.h → FirebaseMessaging/Sources/Protos/GtalkExtensions.pbobjc.h


+ 0 - 0
Firebase/Messaging/Protos/GtalkExtensions.pbobjc.m → FirebaseMessaging/Sources/Protos/GtalkExtensions.pbobjc.m


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است