Open charlisi opened 1 month ago
A potential solution was proposed here in previous issue with monorepos: https://github.com/AppsFlyerSDK/appsflyer-capacitor-plugin/issues/108
👋 Hi @charlisi and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:
Report
Plugin Version
Any version
On what Platform are you having the issue?
Android ℹ Please replace these two lines with the SDK version. e.g. ios and android
What did you do?
I install the latest 6.15.0 on one branch, then check out an older branch using 6.13.1. From this point on the sdk returns 404 when initializing as is pointing to the latest backend on 6.15.0. It returns 404 because the app_id passed doesn't match as we use different app ids in debug.
ℹ Please replace these two lines with what you did.
pnpm install
What did you expect to happen?
I'd expect the plugin to read its own package json file, rather than crawl the npm cache.
ℹ Please replace these two lines with what you expected to happen.
Reading its own package.json
What happened instead?
Read the wrong package.json
Please provide any other relevant information.