expo / expo-phaser

Use Phaser.js on mobile with Expo GL
MIT License
224 stars 30 forks source link

It cause the error on expo version 38.0.8 #16

Open 1986webdeveloper opened 4 years ago

1986webdeveloper commented 4 years ago

Invariant violation: Imagestore has been removed from react-native. To get base64-ecoded string from a local user either of the following third-party library: 'expo-file-system': readAsStringAsync(filepath,base64) react-native-fs :readFile(filepath,base64)

Here are the library I am using right now "dependencies": { "expo": "~38.0.8", "expo-file-system": "~9.0.1", "expo-gl": "~8.3.1", "expo-phaser": "^0.0.1-alpha.0", "expo-status-bar": "^1.0.2", "react": "~16.11.0", "react-dom": "~16.11.0", "react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz", "react-native-web": "~0.11.7" }

Here is the app.js code

import { StatusBar } from 'expo-status-bar'; import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import ExpoPhaser from "expo-phaser"; import { GLView } from 'expo-gl';

export default function App() { return (

Open up App.js to start working on your app! startGame({ context })} />

); }

function startGame({ context }) { const game = ExpoPhaser.game({ context }); }

const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: '#fff', alignItems: 'center', justifyContent: 'center', }, });

Please check this issue and let us know

mabruchet commented 3 years ago

Hi! do you solve this issue, because i'm running through the same situation ... @1986webdeveloper ?

Roshdy commented 3 years ago

+1

mabruchet commented 3 years ago

Did you find any solution ?

medmo7 commented 3 years ago

Any solution for this issue?

fizan2904 commented 2 years ago

Any solution??

lewatt23 commented 4 months ago

any update ?