killserver / react-native-screenshot-prevent

MIT License
98 stars 38 forks source link

Error Metro Bundler ^1.1.6 #24

Closed ajiehatajie closed 1 year ago

ajiehatajie commented 1 year ago

However, this package itself specifies a main module field that could not be resolved


"react-native": "0.71.11",
"react-native-screenshot-prevent": "^1.1.6",
ajiehatajie commented 1 year ago

to fix in packages json

before "react-native": "index"

after 

"react-native": "./src/index",
killserver commented 1 year ago

pls check in 1.1.7 version. thx