aepp-sdk-js icon indicating copy to clipboard operation
aepp-sdk-js copied to clipboard

ShareWalletInfo doesn't reach aepp with base aepp inside iframe

Open etharner opened this issue 4 years ago • 0 comments

Describe the bug Base Aepp opens in iframe inside aepp example before client is initialized. Because of that, shareWalletInfo doesn't reach aepp example.

To Reproduce Steps to reproduce the behavior:

  1. Open example aepp on localhost:9001
  2. Pass localhost:8080 to prompt window
  3. Connection won't establish

Expected behavior I think it's reasonable to move window !== window.parent || await this.getReverseWindow() after this.client = await RpcAepp({ in created hook.

Please tell us about your environment:

  • SDK Version: v7.4.2

etharner avatar Jun 17 '20 13:06 etharner