mikehardy / react-native-update-apk

Update apk from non-play store servers, and update ios from app store in React Native.
MIT License
193 stars 57 forks source link

How to access the whatNew property? #47

Closed brett-fz closed 3 years ago

brett-fz commented 3 years ago

Hi guys,

I'm just wondering how do I access the whatsNew property so I can display it to my user in react native?

Cheers.

mikehardy commented 3 years ago

Hi there -

Looks like it will come through as the second argument to whatever function you send in for options.needUpdateApp

https://github.com/mikehardy/react-native-update-apk/blob/594096977684c8c26318aa1920edc742e65d68dc/index.js#L74-L80