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?
I've included axios and https (trying them both) in
pakcage.json
in the dependency section executed yarn install and addedconst axios = require('axios')
to the code.When bundling the code using
npx liquidcore bundle --platform=android
I'm gettingWARN: Cannot resolve module 'https'. This will throw an Error at runtime.
My questions are: