Checked the code of react.native part, there's no issue by using safeDecodeURIComponent. So fixed it in same way.