Forum Discussion

manuel's avatar
manuel
New Member
3 years ago

react native open api generated client [Unhandled promise rejection: Error: not implemented]

I have a hello world with open api from this tutorial

API schema is in here as JSON

as in the tutorial I just call the generated API client

  <Button title='API' onPress={()=> Api.Pet.getPetById(42)}/>

but is not working and getting the error

[Unhandled promise rejection: Error: not implemented]
at node_modules/react-native/Libraries/Blob/URL.js:195:10 in get__search
at Api/generated/common.ts:91:48 in setSearchParams
at Api/generated/api.ts:502:12 in getPetById

 
Are there any react native examples working with expo? what can be my problem?

Thanks!

No RepliesBe the first to reply