slack-digest/2021-10-13.md
Wed, 13 Oct 2021 08:21:13 GMT
Join the conversation at slack.cordova.io
Tue, 12 Oct 2021 11:59:05 GMT
@norman137 says
via nginx, I add
Cache-Control "no-cache, no-store, must-revalidate"response header that appears to work for me.
Tue, 12 Oct 2021 12:00:51 GMT
@norman137 says
The thing is though, the server may send instructions like the
cache-control, but it's up to the browser to honour them.The old
?v=<numbers>trick is abusing the fact that browsers cache by url so by changing the url to trick the caching mechanism is kinda of a foolproof way to know for sure it won't via a cache version, as long as the url is a new url.
Tue, 12 Oct 2021 12:09:43 GMT
@mathewp.94 says
Yeah I had a feeling that was going to be the most reliable way
Tue, 12 Oct 2021 12:10:44 GMT
@mathewp.94 says
My solution is probably going to be dynamically creating the script and inserting it into the DOM at app runtime, with
?t=${Date.now()}appended.
Tue, 12 Oct 2021 08:56:57 GMT
@drouard.noelie says
Hello, I need to use universal links. It works on android, but for IOs, it opens the app but doesn't take me to the page I need to go to. I found this
Tue, 12 Oct 2021 08:57:55 GMT
@drouard.noelie says
https://riptutorial.com/ios/example/7768/setup-ios-application--enabling-universal-links- but it says to use viewControllers. As I generate everything on cordova, I don't know How to adapt it. Someone had to do this as well?
Tue, 12 Oct 2021 08:58:15 GMT
@mathewp.94 says
Are you using a plugin for Android applinks?
Tue, 12 Oct 2021 08:59:45 GMT
@mathewp.94 says
At my company we are using Branch's deeplink plugin (as we use branch) but I think there is a cordova deeplinking plugin.
Tue, 12 Oct 2021 09:00:02 GMT
@mathewp.94 says
You'll also need to make sure you have an apple-app-site-association file set up
Tue, 12 Oct 2021 09:05:28 GMT
@mathewp.94 says
In XCode you also include specific domains as "associated domains", but I think the cordova plugin would help with that
Tue, 12 Oct 2021 09:06:46 GMT
@drouard.noelie says
I have the file setup and it is valid, I followed every tutorial I found on the subject. But I don't know If I have to modify the app delegate file. I don't use apple products in general
Tue, 12 Oct 2021 09:07:49 GMT
@drouard.noelie says
I have the customurlscheme plugin, but I wonder if it is still useful. I started this a few months ago, and then had to move to other stuff at work ..
Tue, 12 Oct 2021 09:08:08 GMT
@mathewp.94 says
I wrote some notes on the AASA file when I was dealing with it a few months ago, feel free to have a look if you want to double check yours: https://coral-shear-04c.notion.site/Universal-Links-e0cca34b22824cdfb4f3bf4c19b57fff
Tue, 12 Oct 2021 09:08:28 GMT
@mathewp.94 says
I spent ages battling with this at work myself so don't feel bad lol, it's a bit painful
Tue, 12 Oct 2021 09:09:24 GMT
@mathewp.94 says
the URL Schemes don't work so well with iOS if I'm remembering right (don't quote me)
Tue, 12 Oct 2021 09:10:13 GMT
@drouard.noelie says
I feel better seeing I am not the only one ripping my hair off 😂 thank you very much!
Tue, 12 Oct 2021 09:10:24 GMT
@mathewp.94 says
but if you want a seamless deep link you will probably need something like this https://github.com/ionic-team/ionic-plugin-deeplinks
Tue, 12 Oct 2021 09:11:03 GMT
@drouard.noelie says
I use Angular, I don't think it will work on my case
Tue, 12 Oct 2021 09:11:24 GMT
@mathewp.94 says
Hm I can't comment on Angular specifics, we're using Vue
Tue, 12 Oct 2021 09:11:45 GMT
@drouard.noelie says
nice !
Tue, 12 Oct 2021 09:14:33 GMT
@mathewp.94 says
Though I'm not sure if that plugin would clash with Angular if you have found a way to make the URL Scheme plugin work
Tue, 12 Oct 2021 09:15:01 GMT
@mathewp.94 says
They actually have an example in the readme for angular 2
Tue, 12 Oct 2021 09:19:48 GMT
@drouard.noelie says
I'm gonna check. I really need to take care of this once and for all
Tue, 12 Oct 2021 09:21:48 GMT
@mathewp.94 says
Good luck!
Tue, 12 Oct 2021 09:21:58 GMT
@drouard.noelie says
thank you ! 🙂
Tue, 12 Oct 2021 12:29:28 GMT
@fbaheux says
@fbaheux has left the channel
Tue, 12 Oct 2021 17:05:52 GMT
@norman137 says
Has anyone did any extensive development using one of the M1 macs? Care to share your thoughts?
Wed, 13 Oct 2021 07:20:15 GMT
@javarea says
Hi, I have a problem with the cordova-plugin-fingerprint-aio plugin and version 15 of an iphone. I get the following error if it does not have a fingerprint stored in the system. Does anyone know how to fix it? {"code":-106,"message":"BIOMETRIC_NOT_ENROLLED"}