CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
326 stars 242 forks source link

ARCore 1.33 Cloud Anchor endpoint changes #217

Open farhodyusupov opened 8 months ago

farhodyusupov commented 8 months ago

I spend 3 week to find this. I have found that Google updated endpoints, so please update it in library asap.

In JWTGenerator swift file line 47 change to this:

let jwtTokenClaims = JWTTokenClaims(iss: clientEmail, sub: clientEmail, iat: Date(), exp: Date(timeIntervalSinceNow: 3600), aud: "https://arcore.googleapis.com/")

"https://arcorecloudanchor.googleapis.com/" -> "https://arcore.googleapis.com/"

hlefe commented 7 months ago

Hello, since there hasn't been an update for over a year, here is a solution. I forked the plugin, updated it with the latest APIs, and republished it here : https://pub.dev/packages/ar_flutter_plugin_flutterflow

DennisDebbarma commented 2 months ago

Anyone managed to find solution? @hlefe I use ar_flutter_plugin_flutterflow, can you please let us know how to inititiate with the Arcore API?