Prisma 1 Forum

Passing AuthTokent in apollo-android

How can we pass the auth token in apollo-android client?
any ideas?
here is the library
https://github.com/apollographql/apollo-android

See:

1 Like

Thanks i got it working

1 Like

any API for subscriptions or polling?
i cannot find it in apollo-android? is there another library?

Not in apollo-android:

Can I ask you why you are using this native library, and not, for example, react-native with react-apollo?

already built it. its in the play store. although react-native by default has some performance issues and my app has to deal with around 1000 entries, and the react-native app just could not deliver the performance i need

1 Like

if i run a query as a runnable at an interval it will still behave like a polling right?

had this issue, resolved now! 9Apps VidMate apk