Adding https throws a runtime error
icaspi opened this issue · comments
Ilan Caspi commented
I've included axios and https (trying them both) in pakcage.json
in the dependency section executed yarn install and added const axios = require('axios')
to the code.
When bundling the code using npx liquidcore bundle --platform=android
I'm getting WARN: Cannot resolve module 'https'. This will throw an Error at runtime.
My questions are:
- What is the best way to make an http request?
- Is including dependencies supported, if so does it require any special work?
Ilan Caspi commented
Pilot error - closing