slack-digest/2020-10-30.md
Fri, 30 Oct 2020 08:19:00 GMT
Join the conversation at slack.cordova.io
Thu, 29 Oct 2020 18:35:33 GMT
@osaintilien55 says
I'm installing Android studio on a new machine and I get this warning "SDK Location should not contain whitespaces", if I change the path to some other place(I think this is my only option, not able to rename the users folder) everything should still work just fine right?
Thu, 29 Oct 2020 18:37:01 GMT
@norman137 says
I'd just create a folder in C:\ and have your android sdk move there or something
Thu, 29 Oct 2020 18:37:12 GMT
@osaintilien55 says
okay cool
Thu, 29 Oct 2020 18:37:42 GMT
@norman137 says
Unless you need NDK it shouldn't be a problem though.
Fri, 30 Oct 2020 00:29:40 GMT
@osaintilien55 says
"Build android" and "run android" take at least 2 mins for me is this normal behavior? Not just on the first go but back to back.
Fri, 30 Oct 2020 00:31:58 GMT
@norman137 says
depends how large your project is
Fri, 30 Oct 2020 00:32:06 GMT
@norman137 says
and how powerful your computer is
Fri, 30 Oct 2020 00:33:27 GMT
@norman137 says
The initial run will always be the longest but generally speaking you don't change native code very often when developing a cordova app, so as long as you have the gradle daemon enabled (which is the default setting), it will cache the compiled results and subsequent runs should be fairly quick.
Fri, 30 Oct 2020 00:34:17 GMT
@osaintilien55 says
ok and what would you consider a large project size to be
Fri, 30 Oct 2020 00:35:53 GMT
@norman137 says
idk, back when I used crosswalk + multi apk setup, my projects would take 5-10 minutes to compile
Fri, 30 Oct 2020 00:36:14 GMT
@norman137 says
more plugins you include, the more native code to copmile
Fri, 30 Oct 2020 00:36:44 GMT
@osaintilien55 says
okay got it
Fri, 30 Oct 2020 02:44:50 GMT
@osaintilien55 says
I have set the "connect-src" and to my mind this should be working, but for some reason I still can't connect to my json data.
Fri, 30 Oct 2020 02:46:39 GMT
@norman137 says
You probably don't want to use the ip
127.0.0.1, that is localhost, or the device itself... which probably isn't running the webserver
Fri, 30 Oct 2020 02:48:00 GMT
@norman137 says
Assuming you're running the server on your PC, you'd want to find the private ip of your PC, make sure the server is listening on that private ip, then point the device to connect to that private ip.
Fri, 30 Oct 2020 02:48:30 GMT
@norman137 says
The device also needs to be connected to the same network as the PC for that to work.
Fri, 30 Oct 2020 02:49:15 GMT
@osaintilien55 says
Whoa okay, well then how can I have it where everything works on the device independently
Fri, 30 Oct 2020 02:49:39 GMT
@osaintilien55 says
Till now I have been doing things on my pc
Fri, 30 Oct 2020 02:49:39 GMT
@norman137 says
server needs to be hosted somewhere publicly with a public ip (or better a domain)
Fri, 30 Oct 2020 02:49:48 GMT
@osaintilien55 says
okay
Fri, 30 Oct 2020 02:51:13 GMT
@norman137 says
I have a custom script for when I build my apps I define the environment, and based on the environment the "server target' changes, to private ip for development, or the production server if building for release, etc.
Fri, 30 Oct 2020 02:59:16 GMT
@osaintilien55 says
okay so something like Google Firebase is an option for public hosting, right?
Fri, 30 Oct 2020 02:59:38 GMT
@norman137 says
nevered used it but i think so
Fri, 30 Oct 2020 03:00:03 GMT
@norman137 says
Any VPS will do really
Fri, 30 Oct 2020 03:04:35 GMT
@osaintilien55 says
lol I've been running around in circles for a while, I understand what to do now thanks
Thu, 29 Oct 2020 14:28:45 GMT
@drouard.noelie says
hello 🙂 i have the latest versions of cordova and the oneSignal plugin, but when I try to set up the plugin, I have a problem. I need to use cocoapods, it's installed, but there is no Pods folder and i need it to finalize the set up (step 3.16 of this link) https://documentation.onesignal.com/docs/ionic-sdk-setup . has someone had the same problem?
Thu, 29 Oct 2020 18:13:16 GMT
@ben201 says
So I am having issues with images taken from Cordova Camera being under a tmp url when I store them in the DB and return later on with them now cleaned up. Previously we used CDVFILE to get an actual persistent file uri however I cannot run those through the new window.WkWebView.convertFilePath(image). How are other people dealing with this? I am getting myself abit lost I think. #
Thu, 29 Oct 2020 14:20:50 GMT
@purplecabbage says
@here Sorry all, I totally zoned out on the hangout schedule this week. I won’t be able to organize/attend. If anyone else is able to pull this together, I will happily help to post the video.
Thu, 29 Oct 2020 14:20:51 GMT
@slackbot says
'[at]here' broadcaster detected. Easy now. Did you try just typing your question and seeing if anyone responded? Maybe try that instead.
Thu, 29 Oct 2020 14:45:52 GMT
@raphinesse says
I won't make it today either
Thu, 29 Oct 2020 15:00:03 GMT
@niklasmerz says
Same for me
Thu, 29 Oct 2020 19:35:06 GMT
@purplecabbage says
set up a reminder “The next hangout is coming up on Nov. 12th at 8 AM PST” in this channel at noon every Monday, Pacific Daylight Time.