Find a type of Device (It's android or iPhone) from device token using PHP -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 5 जवाब

मैं एक PHP पर काम कर रहा हूँ आवेदन, कुछ ऐप के लिए पीएचपी एप के लिए मोबाइल ऐप का अनुरोध मोबाइल ऐप सर्वर को डिवाइस टोकन भेज रहा है। तो मैं यह जानना चाहता हूं कि मोबाइल ओएस से अनुरोध क्या आ रहा है? यह एंड्रॉइड या आईफ़ोन है?

यदि आपको केवल अलग एंड्रॉइड और आईफ़ोन की आवश्यकता है, तो अनुरोध पैरामीटर एंड्रॉइड कोड में और एंड्रॉइड कोड में और & amp; os = iphone

जोड़ें: इसके अलावा आप $ _ SERVER [ HTTP_USER_AGENT ']


Comments

Popular posts from this blog

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -