message: fix: warning on RN v0.65+
diff: @@ -31,8 +31,18 @@ export const useAppState = () => {
  () => ({
  getCurrentValue: () => AppState.currentState,
  subscribe: (callback: () => void) => {
  - AppState.addEventListener('change', callback);
  - return () => AppState.removeEventListener('change', callback);
  + const subsription = AppState.addEventListener('change', callback);
  + // return () => AppState.removeEventListener('change', callback);
  + return () => {
  + if (AppState.removeEventListener) {
  + // React Native < 0.65
  + AppState.removeEventListener('change', callback);
  + } else {
  + // React Native >= 0.65
  + // @ts-ignore:next-line ignoring ts error as devDependency contains "@types/react-native" < 0.65
  + subsription.remove();
  + }
  + };
  },
  }),
  []
  