Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AR Core Cloud Anchor Error Authorization #3

Open
agussusanto18 opened this issue May 23, 2024 · 0 comments
Open

AR Core Cloud Anchor Error Authorization #3

agussusanto18 opened this issue May 23, 2024 · 0 comments

Comments

@agussusanto18
Copy link

Hello, I found your repository and am interested in using it as learning material for my studies at university. I would like to explore it further for this project as I am intrigued by the concept of the application you have created. If you don't mind, I would like to ask for your assistance with this project that I am working on in Android Studio. I am encountering an authorization error even though I have configured the API in Google Cloud and set up keyless authorization. However, I am still experiencing an authorization error when trying to host the AR Anchor to the cloud. Here are the details of the error I am encountering:

ArMappingFragment.kt

This is the part of the code

private fun hostCloudAnchor() { ... anchorNode.hostCloudAnchor(365) { anchor: Anchor, success: Boolean -> ... } ... }

The success returns false and the anchor.cloudAnchorState returns ERROR_NOT_AUTHORIZED

This is my Keyless auth setting on google cloud

Screenshot 2024-05-23 at 9 21 35 AM

This is the error message on the running app

Screenshot_20240523-091321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant