Coder Social home page Coder Social logo

Comments (12)

divanc avatar divanc commented on May 25, 2024

Can you provide a little more info — for example, if you just leave activate would it still be thrown? If you can create a minimal reproducible example it would be even better

from adaptysdk-react-native.

rafakwolf avatar rafakwolf commented on May 25, 2024

Hey, yes, actually it's in the activate call that it's failing.
I'll try to create a reproducible example.

from adaptysdk-react-native.

divanc avatar divanc commented on May 25, 2024

And why your npmPackages does not list react-native-adapty?

from adaptysdk-react-native.

rafakwolf avatar rafakwolf commented on May 25, 2024

I don't know, actually, I have many more other packages, I think it's an EAS thing, only listing the packages they care about or something like that. Anyway, here are the dependencies

"dependencies": {
"@react-navigation/drawer": "^6.5.7",
"@react-navigation/native": "^6.1.2",
"expo": "^47.0.13",
"expo-auth-session": "~3.8.0",
"expo-background-fetch": "~11.0.1",
"expo-constants": "~14.0.2",
"expo-device": "~5.0.0",
"expo-linear-gradient": "~12.0.1",
"expo-notifications": "~0.17.0",
"expo-random": "~13.0.0",
"expo-splash-screen": "~0.17.5",
"expo-sqlite": "~11.0.0",
"expo-status-bar": "~1.4.2",
"expo-system-ui": "~2.0.1",
"expo-task-manager": "~11.0.1",
"expo-updates": "~0.15.6",
"moti": "^0.22.0",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-native": "0.70.5",
"react-native-adapty": "2.3.2",
"react-native-gesture-handler": "~2.8.0",
"react-native-google-mobile-ads": "^8.2.2",
"react-native-progress": "^5.0.0",
"react-native-reanimated": "~2.12.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "3.18.2",
"react-native-svg": "13.4.0",
"react-native-vector-icons": "^9.2.0",
"react-native-web": "^0.18.12",
"rollbar-react-native": "^0.9.3",
"valtio": "^1.9.0",
"@react-native-async-storage/async-storage": "~1.17.3"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@expo/webpack-config": "^0.17.4",
"@jest/globals": "^29.3.1",
"@types/react": "~18.0.24",
"jest": "^29.3.1"
},

from adaptysdk-react-native.

rafakwolf avatar rafakwolf commented on May 25, 2024

I'm not managing to reproduce it with an empty expo boilerplate, it looks like a conflict with some other package.
Trying to figure out which one is.

For now I'll stay on the version 1.4.1.

from adaptysdk-react-native.

divanc avatar divanc commented on May 25, 2024

Being an EAS log, does it mean it comes during Expo building? Does it come during local development?

from adaptysdk-react-native.

divanc avatar divanc commented on May 25, 2024

I would say, that it is unlikely that this is a code problem. My current bet is bundler not understanding the way things are.

If you experienced same problem during development, let's try simple steps:

  1. Remove node modules
  2. Preferably remove .lock file
  3. Remove adapty from package.json
  4. Install adapty via Expo CLI expo install react-native-adapty to assure compatibility
  5. expo start -c to clean bundler caches

from adaptysdk-react-native.

divanc avatar divanc commented on May 25, 2024

@rafakwolf can you try the thing above? Or have you found another solution?

from adaptysdk-react-native.

rafakwolf avatar rafakwolf commented on May 25, 2024

@divanc yes, I'll try it and let you know the outcome

from adaptysdk-react-native.

rafakwolf avatar rafakwolf commented on May 25, 2024

@divanc unfortunately, no success, same error :(

from adaptysdk-react-native.

divanc avatar divanc commented on May 25, 2024

Sorry for being absent on this issue for a while.
Can you check with the latest version? Also with logLevel verbose if persists. It is a strange kind of errror, I was unable to get that...

from adaptysdk-react-native.

divanc avatar divanc commented on May 25, 2024

I'm going to close this issue for now due to inactivity. If you need to come back to this issue, then re-open without a doubt

from adaptysdk-react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.