Closed xRahul closed 1 year ago
@xRahul would you mind submitting a PR to fix it? That would be great if you can
@enahum What should be the fix here? Personally, I've just put an if/else over logError such that if it exists, log it, or skip logging on error. If we need to pass it, would I find it in same place, as in, props.action?
Also, not sure why the error: Error: Dynamic require defined at line 3; not supported by Metro
is coming. Haven't really kept up with the latest version of react.
@xRahul probably the issue is with the semver
import, maybe try to change it for import semver from 'semver/preload';
This doesn't seem to be applicable any longer on V2.
Error coming during login since v1.28.0
Reference: https://github.com/mattermost/mattermost-mobile/blob/217ef59f1c31ff4bac7e35112f7ecdaa328c50bb/app/screens/select_server/select_server.js#L112
Method: https://github.com/mattermost/mattermost-mobile/blob/217ef59f1c31ff4bac7e35112f7ecdaa328c50bb/app/utils/client_upgrade.js#L9
Error:
Error triggered due to the following error at line: https://github.com/mattermost/mattermost-mobile/blob/217ef59f1c31ff4bac7e35112f7ecdaa328c50bb/app/utils/client_upgrade.js#L13