add parseShareError, transform platform config of android to ios