Comments (12)
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.
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.
And why your npmPackages does not list react-native-adapty
?
from adaptysdk-react-native.
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.
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.
Being an EAS log, does it mean it comes during Expo building? Does it come during local development?
from adaptysdk-react-native.
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:
- Remove node modules
- Preferably remove
.lock
file - Remove adapty from
package.json
- Install adapty via Expo CLI
expo install react-native-adapty
to assure compatibility expo start -c
to clean bundler caches
from adaptysdk-react-native.
@rafakwolf can you try the thing above? Or have you found another solution?
from adaptysdk-react-native.
@divanc yes, I'll try it and let you know the outcome
from adaptysdk-react-native.
@divanc unfortunately, no success, same error :(
from adaptysdk-react-native.
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.
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)
- IOS Introductory Offers and Promotional Offers
- Functionalities not working in release mode HOT 43
- FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-adapty:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details HOT 3
- Attempt to invoke virtual method 'java.lang.String com.google.gson..JsonElement.getAsString()' on a null object reference HOT 8
- (encodingFailed): Failed to find encoder for property "customerUserId"
- Calling adapty.identify(id) inserts last purchase record
- `adapty.activate()` function crashes the app when API key is invalid HOT 1
- Adapty prompts to sign in with Apple ID HOT 1
- iOS build fail HOT 8
- Firebase v19 and Adapty v2.9.6 Conflicts on Android HOT 2
- Android Missing PurchaseToken in AdaptyProfile
- Expo EAS Android build failure: Could not find io.adapty.internal:crossplatform:2.10.3 HOT 5
- Code not executed after call the adapty.makePurchase method HOT 11
- TypeToken must be created with a type argument: new TypeToken<...>() {}; When using code shrinkers (ProGuard, R8, ...) make sure that generic signatures are preserved. HOT 17
- Does the example in the repo still work? HOT 1
- Can't build in dev mode: Could not find io.adapty.internal:crossplatform-ui:2.1.1. & Could not find io.adapty.internal:crossplatform:2.10.3. HOT 2
- 'nil' requires a contextual type HOT 3
- activation error 2.7.0-canary.1 HOT 10
- [IOS 17] requestSubscripition infinite loop HOT 3
- [IOS] Error while fetching paywall products on real device and emulator HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptysdk-react-native.