this snippet throws multiple errors:
1: Expected ')'
2: Interface type 'UIApplication' cannot be passed by value; did you forget * in 'UIApplication'? Insert '*'
second error is auto-fixable, after pressing "fix" button, it resolves. But the rest of errors persist.
also throws warn:
1: Identifier contains Unicode character <U+200B> that is invisible in some environments
Report
Plugin Version
"react-native-appsflyer": "^6.5.21", "react-native": "0.68.1",
On what Platform are you having the issue?
ℹ ios
What did you do?
ℹ Was following "Measure App Uninstalls" guide here: https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/blob/master/Docs/AdvancedAPI.md#-measure-app-uninstalls
What did you expect to happen?
ℹ code snippet not to throw errors on every line
What happened instead?
line
@import AppsFlyerLib;
throws:Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules
rest of snippet:this snippet throws multiple errors: 1:
Expected ')'
2:Interface type 'UIApplication' cannot be passed by value; did you forget * in 'UIApplication'? Insert '*'
second error is auto-fixable, after pressing "fix" button, it resolves. But the rest of errors persist.
also throws warn: 1:
Identifier contains Unicode character <U+200B> that is invisible in some environments
Please provide any other relevant information.
Here's full AppDelegate.mm file: