TradingPal / react-native-highcharts

📈 Add Highcharts charts to react-native app for IOS and Android
https://github.com/TradingPal/react-native-highcharts
256 stars 158 forks source link

About last viewport commit and main file on package.json #41

Closed gusbueno closed 6 years ago

gusbueno commented 6 years ago

Hi dude!,

Thanks for your last commit adding the viewport meta but there is a problem. The problem is that you only added this meta on App/index.js but your package.json define your react-native-highcharts.js as the main file and this file hasn't the meta tag.

Could you add the meta tag in the react-native-highcharts.js, please? and can we disable the resize of the webview with user-scalable=0?

the meta would be: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />

Thanks a lot!

ChrisTolmeijer commented 6 years ago

<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0" />

Infinity0106 commented 6 years ago

Done, and sorry i have been very busy and not checking the repo lately XD