feat(plugin:appRate): refractor to use Provider more