patw0929 / react-smartbanner

Rewrite Smart App Banner in React.js.
https://patw0929.github.io/react-smartbanner/
MIT License
74 stars 56 forks source link

The code doesn't seem to work on iOS Safari browsers #84

Open venky1963 opened 7 months ago

venky1963 commented 7 months ago

The code doesn't seem to work on iOS Safari browsers. I am not that conversant with React, so please excuse me if I am making any obvious mistakes. The code is pretty much the example given in the readme. Also, the code works fine on iOS Chrome browser. It doesn't work on Safari. Any thoughts?

Also, what is the right way to pass the'force' property? I tried the following and it throws a type error.

force={'(android,ios)'}