Ron Aharoni
01/29/2023, 6:47 AMmbonnin
01/29/2023, 8:49 AMapollo-mockserver
artifact if you need native/js supportmbonnin
01/29/2023, 8:50 AMRon Aharoni
01/29/2023, 10:44 AMmbonnin
01/29/2023, 10:47 AM1080
is the port. IIRC it's assigned automatically, you don't have control over it. You should retrieve the url from the mock server:
ApolloClient.Builder()
.serverUrl(mockServer.url())
.build()
mbonnin
01/29/2023, 10:48 AMurl
is suspend so if you're in a plain Java project, you'd better use okhttp MockWebServer instead, it'll be easier to work withRon Aharoni
01/30/2023, 1:04 PM