Tonomy-Foundation / Tonomy-ID

Tonomy ID is the cross-platform mobile wallet (Android and iOS) for public and private Antelope blockchains. This application allows you to sign transactions on the block chain, share your DID and Verifiable Credentials containing your identity with others in a consensual way and log into web2 and web3 applications.
Apache License 2.0
13 stars 1 forks source link

Entity not authorized: AccountEntity[f7401044-c286-4841-8977-b5c5bdb92e20] (viewer = RegularUserViewerContext[f87e9174-e4dd-4f4d-8d85-4497e951990b], action = READ, ruleIndex = -1) #866

Closed dnaicker86 closed 10 months ago

dnaicker86 commented 11 months ago

After running yarn run build:android and logging into App Expo account.

The following error arises:

Log in to EAS with email or username (exit and run eas login for other options)
√ Email or username ... ###### <censored>
√ Password ... #### <censored>
Found eas-cli in your project dependencies.
It's recommended to use the "cli.version" field in eas.json to enforce the eas-cli version for your project.
Learn more: https://github.com/expo/eas-cli#enforcing-eas-cli-version-for-your-project

Found eas-cli in your project dependencies.
It's recommended to use the "cli.version" field in eas.json to enforce the eas-cli version for your project.
Learn more: https://github.com/expo/eas-cli#enforcing-eas-cli-version-for-your-project

Found eas-cli in your project dependencies.
It's recommended to use the "cli.version" field in eas.json to enforce the eas-cli version for your project.
Learn more: https://github.com/expo/eas-cli#enforcing-eas-cli-version-for-your-project

Loaded "env" configuration for the "development" profile: EXPO_NODE_ENV. Learn more: https://docs.expo.dev/build-reference/variables/
You don't have the required permissions to perform this operation.

Entity not authorized: AccountEntity[f7401044-c286-4841-8977-b5c5bdb92e20] (viewer = RegularUserViewerContext[f87e9174-e4dd-4f4d-8d85-4497e951990b], action = READ, ruleIndex = -1)
Request ID: 3e57bab0-da5f-4e61-b3b8-6e79fb7e5e6f
    Error: GraphQL request failed.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
dnaicker86 commented 11 months ago

This also occurs for iOS:

Loaded "env" configuration for the "development" profile: EXPO_NODE_ENV. Learn more
You don't have the required permissions to perform this operation.

Entity not authorized: AccountEntity[f7401044-c286-4841-8977-b5c5bdb92e20] (viewer = RegularUserViewerContext[f87e9174-e4dd-4f4d-8d85-4497e951990b], action = READ, ruleIndex = -1)
Request ID: 3d586ab6-8e32-45d8-a185-30d053d07abb
theblockstalk commented 10 months ago

@dnaicker86 what was your solution for this? You reported that you needed to update the value of the projectId in the settings file or app file right?

dnaicker86 commented 10 months ago

I did note some of the re-attempts that I tried although whether those are accurate to the solving why this occurs might not be replicable to another developer.

One could try:

Windows:

  1. yarn //install node modules
  2. yarn run build:android //wait for build to complete on Expo Go external server
  3. download apk from Expo dev website to android device // this did not seem to install correctly even after accepting prompt for untrusted source
  4. npx expo start // ran this afterwrads
  5. scanned qr code //launches applicatio
  6. adb logcat *:S ReactNative:V ReactNativeJS:V //was able to see interaction from screen ui, there are heremes errors appearing when selecting items in settings, is there a demo I can interact with using the QR code scanner?