On RN we don't use the global APP object, so don't save the store there unless it's defined, which is the case in the current web version. Also, check for undefined explicitly, since a "if (!APP)" check will throw a ReferenceError.