GhassenEljday / react-mobile-app-button

Welcome to our versatile React component designed to seamlessly integrate download buttons for iOS App Store, Google Play Store, and Huawei AppGallery. Enhance your users' experience by providing effortless access to your mobile app on popular platforms. Elevate your app's visibility and accessibility today!
https://www.npmjs.com/package/react-mobile-app-button?activeTab=readme
39 stars 4 forks source link

buttons do not work when I import them locally in nextjs #30

Closed eraykeskinmac closed 4 months ago

eraykeskinmac commented 6 months ago

<GooglePlayButton url={APKUrl} theme="dark" /> When I import as in this example, nextjs gives an error like this, I think the reason is written in nextjs docs

./node_modules/react-mobile-app-button/lib/components/Button/button.css Global CSS cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-npm Location: node_modules/react-mobile-app-button/lib/components/Button/index.js

lucaswiix commented 6 months ago

same

GhassenEljday commented 5 months ago

Hey @eraykeskinmac Thank you so much for the detailed issue report, we'll start working on it so u can enjoy our library on Next.js

GhassenEljday commented 4 months ago

Hey Guys,

We've got a new version on the way, packed with all the fixes needed for this issue.

Thank you for reporting

jack2684 commented 2 months ago

I got the same issue even when using latest version as of today.

"react-mobile-app-button": "^1.2.18",
image