2014-04-30 22 views

回答

0

您可以將信息存儲在數據庫,cookie,localStorage或本機應用程序中。假設您有一個FooInstalled,它可能爲null或true。您提示您的用戶安裝foo,當您看到它已安裝時,您將FooInstalled設置爲true。之後,當他訪問您的網站時,您會從數據庫/ cookie/localStorage /本機應用程序存儲中讀取FooInstalled,並確認它是正確的。所以你不要問你的用戶安裝foo。

相關問題