Skip to content

Commit

Permalink
Update deprecation/documentation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Oct 11, 2023
1 parent 3d940ef commit 9854c6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
15 changes: 5 additions & 10 deletions FirebaseInAppMessaging/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
# Unreleased
- [deprecated] `FirebaseInAppMessagingSwift` has been deprecated, and will be
removed in a future release. All of the public API from
`FirebaseInAppMessagingSwift` can now be accessed through the
`FirebaseInAppMessaging` module. To migrate, delete imports of
`FirebaseInAppMessagingSwift` and remove the module as a dependency to your
project. If applicable, any APIs namespaced with
`FirebaseInAppMessagingSwift` can now be namespaced with
`FirebaseInAppMessaging`. Additionally, if applicable,
`@testable import FirebaseInAppMessagingSwift` should be replaced with
`@testable import FirebaseInAppMessaging`.
- [deprecated] All of the public API from `FirebaseInAppMessagingSwift` can now
be accessed through the `FirebaseInAppMessaging` module. Therefore,
`FirebaseInAppMessagingSwift` has been deprecated, and will be removed in a
future release. See https://firebase.google.com/docs/ios/swift-migration for
migration instructions.

# 10.13.0
- [fixed] Fix Firebase tvOS podspec dependency for In App Messaging. (#11569)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#warning("""
The `FirebaseInAppMessagingSwift` module is deprecated and will be removed in
the future. All of the public API from `FirebaseInAppMessagingSwift` can now be
accessed through the `FirebaseInAppMessaging` module. To migrate, delete
imports of `FirebaseInAppMessagingSwift` and remove the module as a dependency
to your project. If applicable, any APIs namespaced with
`FirebaseInAppMessagingSwift` can now be namespaced with
`FirebaseInAppMessaging`. Additionally, if applicable,
`@testable import FirebaseInAppMessagingSwift` should be replaced with
`@testable import FirebaseInAppMessaging`.
""")
#warning(
"All of the public API from `FirebaseInAppMessagingSwift` can now be accessed through the `FirebaseInAppMessaging` module. Therefore, the `FirebaseInAppMessagingSwift` module is deprecated and will be removed in the future. See https://firebase.google.com/docs/ios/swift-migration for migration instructions."
)

// The `@_exported` is needed to prevent breaking clients that are using
// types prefixed with the `FirebaseInAppMessaging` namespace.
Expand Down

0 comments on commit 9854c6a

Please sign in to comment.