-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Labels
Description
Plugin Version
6.17.2
App ID
No response
No response
Platform(s)
React Native
What did you do?
as per React Native integration docs, importing your SDK results in ESLint errors:
import appsFlyer, {
AppsFlyerPurchaseConnector,
AppsFlyerPurchaseConnectorConfig,
StoreKitVersion,
} from 'react-native-appsflyer';appsFlyerimport:
No default export found in imported module "react-native-appsflyer". eslint import/default
AppsFlyerPurchaseConnector, AppsFlyerPurchaseConnectorConfig, StoreKitVersion,imports:
{ named import } not found in 'react-native-appsflyer' eslint import/named
What did you expect to happen?
your SDK has correct exports & related Type definitions
What happened instead?
Any other relevant information
As a workaround, I add to the top of the file:
/* eslint-disable import/default /
/ eslint-disable import/named */
However, this is the exception, not the rule, as I am not going to modify my ESLint rules unless necessary