Hello!
I can use Firebase database and push notifications on PC. But same methods not working on mobile version...
Here is the codes which is giving error...
| Code |
|---|
Request = ApplicationAddress + Resource + Authorization;
WinHttp = New COMObject ("WinHttp.WinHttpRequest.5.1");
WinHttp.Option (2, "utf-8");
//WinHttp.SetProxy(2,"SERVER: PORT "); // if you are working through a proxy
WinHttp.Open (Method, Request, 0);
WinHttp.SetRequestHeader ("Accept-Language", "en");
WinHttp.SetRequestHeader ("Accept-Charset", "utf-8");
WinHttp.setRequestHeader ("Content-Language", "en");
WinHttp.setRequestHeader ("Content-Charset", "utf-8");
WinHttp.setRequestHeader ("Content-Type", "application / json; charset = utf-8");
WinHttp.Send ();
res = WinHttp.ResponseText();
|
And here is the error
| Code |
|---|
CommonModule.FireBase.Module(12,17)}: Type is not defined (COMObject)
WinHttp = New <<?>>COMObject ("WinHttp.WinHttpRequest.5.1"); (Verification: Mobile application - server)
{CommonModule.FireBase.Module(39,17)}: Type is not defined (COMObject)
WinHttp = New <<?>>COMObject ("WinHttp.WinHttpRequest.5.1"); (Verification: Mobile application - server)
{CommonModule.FireBase.Module(76,16)}: Type is not defined (COMObject)
WinHttp = New <<?>>COMObject ("WinHttp.WinHttpRequest.5.1"); (Verification: Mobile application - server)
|

