Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Track number of logins from mobile and how to trust downloadmanager
Hello,
I've got 2 question - is there any way to track how many
users will login to my portal using mobile app? I know I can track how
many users will download my app from android market, but I would also
like to know how many users logged in using this app, and how many
logins total were made using mobile application.
Second question is about trusing standard android
DownloadManager from android.app package. How can I trust my
certificate to be able to download files attached in liferay portal news.
Best regards
Ok, I have managed to solve my problem with downloading a file, just
for information, if You have the same issue just do these things I
wrote down bellow.
But I'm still in need to be able to track user log ins. And I
don't know why when I'm clicking on html input I'm able to only choose
file from my storage and can't take photo ? I've got my android app
created using cordova.
Add to your manifest
and to res -> xml -> new file network_security_config with following lines of code
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config>
<domain includeSubdomains="true">example.pl</domain>
<trust-anchors>
<certificates src="@raw/path_to_cert"/>
</trust-anchors>
</domain-config>
</network-security-config>
Hey, thanks a lot for posting the solution here :)
Regarding the tracking, I think you would have to create a custom service to do that. Anyway, can you post this question in the Liferay portal category? Maybe there you can get more insight
Regards
Powered by Liferay™