In app messaging doesn't work in version 10.28.1
Description
In app messaging doesn't work in version 10.28.1
Reproducing the issue
Steps to reproduce
- Install Firebase version 10.28.1 using cocoapods
pod 'Firebase/Messaging', '10.28.1' pod 'Firebase/RemoteConfig', '10.28.1' pod 'Firebase/Auth', '10.28.1' pod 'Firebase/Crashlytics', '10.28.1' pod 'Firebase/Analytics', '10.28.1' pod 'Firebase/InAppMessaging', '10.28.1' #beta pod 'Firebase/Performance', '10.28.1' - Go to in app messaging in the firebase console and create a new in app messaging campaign
- Install the new version of the app with Firebase 10.28.1 in a real device
- Run the app
- Copy the firebase installation id
Installations.installations().installationID { [weak self] (id, error) in } - Use the copied installation id to send a test in app message using the campaign you created in step 2
Expected result Receive the in app message
Actual result Does not receive the in app message
Firebase SDK Version
10.28.1
Xcode Version
15.3
Installation Method
CocoaPods
Firebase Product(s)
Analytics, Authentication, Crashlytics, In-App Messaging, Messaging, Performance, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
No response
If using CocoaPods, the project's Podfile.lock
platform :ios, '15.0'
inhibit_all_warnings!
use_frameworks!
pod 'Firebase/Messaging', '10.28.1' pod 'Firebase/RemoteConfig', '10.28.1' pod 'Firebase/Auth', '10.28.1' pod 'Firebase/Crashlytics', '10.28.1' pod 'Firebase/Analytics', '10.28.1' pod 'Firebase/InAppMessaging', '10.28.1' #beta pod 'Firebase/Performance', '10.28.1'
target 'MyApp' do end
target 'MyAppTests' do end
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0' config.build_settings['ENABLE_BITCODE'] = 'NO' config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' end end end
Hi @Tulakshana, I wasn't able to reproduce the issue. May I know if you're clicking the Test on device button in the campaign before opening the app?
Yes. The template I used was the one with the image, text and CTA which appears at the centre of the screen.
Thanks for the reply, @Tulakshana. I can't seem to reproduce the issue. Could you confirm if it's also reproducible using a simulator on your end?
Mmm… it worked fine on the simulator. The simulator I used was iPhone 15 Pro (iOS 17.4). My real device is an iPhone XR running iOS 16.2. I tested an iPhone XR simulator (iOS 16.2) too and it worked fine. I’m using Xcode 15.3. The only way I can get the message on my real device is by switching to version 10.28.0
The Podfile.lock file may provide a clue.
Hey @Tulakshana. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
@paulb777 podfile.md
The issue seems to be fixed in version 10.29.0