Integrate ionic app with firebase analytics native plugin

I have put the GoogleService-Info.plist at the root of app folder(not the plaforms/ios/), and i build the app in xcode it show error in the below file:


[FIROptions defaultOptions].deepLinkURLScheme = [FIROptions defaultOptions].bundleID;

and the error is:

property 'bundle id' not found on object of type 'FIRoptions'

Anyone know how to fix this problem?Thanks