FerRiv3ra / rn-inkpad

Open source React Native UI library, with a wide range of ready-to-use components.
https://rn-inkpad.web.app/
12 stars 1 forks source link

stuck on Splash screens #1

Open ashasff0 opened 3 weeks ago

ashasff0 commented 3 weeks ago

when i import anything from rn-inkpad in any file and reload the app it stuck on the splash screen but if the app was already loaded and try to import anything from rn-inkpad everything be fine it only happen if i tried to load the app again im using expo go

FerRiv3ra commented 3 weeks ago

Hello @ashasff0 I can't be sure exactly what causes it to get stuck when you reload the app, I just did tests in Expo Go with two imported components and when I do a reload it continues to work fine without getting stuck on the splash screen as you can see in the next gif.

2024-06-0814-04-27-ezgif com-video-to-gif-converter

ashasff0 commented 3 weeks ago

heyy hyd i hope you doing well well as you see here no matter what i do it always get stuck @FerRiv3ra

ezgif-1-a951c14083

FerRiv3ra commented 3 weeks ago

I would dare to think that there is some problem with a related package, not so much with the library itself, you can send your package.json to see which packages are installed in your project

ashasff0 commented 3 weeks ago

sure thing here you go @FerRiv3ra package.json

Villefor commented 3 weeks ago

Same, stuck on splash screen also (expo-go), works fine if i remove rk-inpad import. The component was ProgressBar

FerRiv3ra commented 3 weeks ago

@ashasff0 At first glance I see that you do not have @expo/vector-icons installed and that is a dependency on the library, make sure to follow the library installation guide.

@Villefor Check your package.json to see if it is the same detail with you.

ashasff0 commented 3 weeks ago

@FerRiv3ra sadly that didnt solve it no... { "name": "assaraya", "version": "1.0.0", "main": "expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web" }, "dependencies": { "@expo/vector-icons": "^14.0.2", "@react-navigation/native": "^6.1.17", "@react-navigation/stack": "^6.3.29", "axios": "^1.7.2", "burnt": "^0.12.2", "expo": "~51.0.11", "expo-build-properties": "~0.12.3", "expo-image-picker": "~15.0.5", "expo-linear-gradient": "^13.0.2", "expo-local-authentication": "^14.0.1", "expo-status-bar": "~1.12.1", "firebase": "^10.12.2", "react": "18.2.0", "react-fancy-qrcode": "^1.0.3", "react-native": "0.74.2", "react-native-bouncy-checkbox": "^4.0.1", "react-native-document-picker": "^9.3.0", "react-native-gesture-handler": "^2.16.2", "react-native-otp-entry": "^1.7.0", "react-native-paper": "^5.12.3", "react-native-safe-area-context": "^4.10.4", "rn-inkpad": "^1.0.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@types/react": "~18.2.45", "typescript": "^5.1.3" }, "private": true }

FerRiv3ra commented 3 weeks ago

@ashasff0 That's quite strange, however, I wonder why you had to install that library manually since, according to the EXPO documentation, that library already comes pre-installed with the framework.

Villefor commented 3 weeks ago

@FerRiv3ra I do, it came with expo, but i also manually installed based on Rk documentation