Android Installs Not Showing on Facebook Developer Insights - android

So I have an iOS and Android phone application that also has a Facebook application which enables users to share information. Every time someone downloads the application my analytics should show installs both iOS and Android, unfortunately it is just iOS, I'm not sure how to get it to register the Android installs, can anyone help?

This is very easy to do, just from looking at the documentation, please check there next time. Here is what you need to do:
On your very first Activity add the following to your onCreate, As you can see below it requires a context and maybe the application ID.
AppEventsLogger.activateApp(this, yourAppIdHere);
https://developers.facebook.com/docs/reference/android/current/class/AppEventsLogger/

Related

Facebook SDK Policy Issue - Android

I received a mail from Facebook:
Hi,
In working to create a great Platform experience for everyone, we ask developers to ensure the apps they build comply with our Platform Policies. Your app xxx (AppId: xxxxxxxxx) doesn't comply with the following:
Platform Policy 8.1: Verify that you have integrated Login correctly. Your app shouldn't crash or hang during the testing process.
During Login, your Android app is crashing or hanging excessively, creating a broken experience for people trying to use your app. To make sure this flow runs smoothly, check that you've integrated Facebook Login correctly. We recommend that you test Login on all integrations. If you have not already done so.
Please make the requested changes by 2019-08-08 at 12:00 PST.
Let us know when you've updated your app by replying to this email. If we do not hear back from you, your app will be subject to enforcement. If you have outstanding questions, respond here and we'll do our best to help.
Thanks,
Facebook
I have used the latest Facebook SDK in my app. Can anyone tell me how to deal with this situation. I really need some help right now.
Any help would be appreciated!

What does 'Make app public' do in Facebook Android SDK?

Under 'App review' there's an option to make your app public. Right now it says 'No' and 'Your app is in development and unavailable to the public'. What happens if I switch it to yes though. Will my friends be able to see the app i'm working on (I don't want that). So how do I keep my app development private, but at the same time be able to use it's features. Because as I'm aware, I have to turn 'Make app public' to 'on' in order to utilize Facebook login for my app.
No your friends wont be able to see the app you are working on. Making your APP public is for your clients to use it's features and not just the developer.
It means you are in development mode now. If you make it public, then only you can access your login from other devices. And this does not say to post your wall or mention your friends.
while an app is in sandbox mode/development mode, so “not live”, only
the users added as admins, developers, testers to the app can use it
and see content that was created through it. Only when you put it in
live mode, every user will be able to use it and see content made via
it.

Is it possible to use the Facebook mobile SDKs for only mobile app install ads?

I am not currently using Facebook's Android SDK in my Android app, and I only want to integrate it enough to capture installs via Facebook Mobile App Install Ads.
The documentation describes the need to "[c]omplete your Basic page under App Settings." If I enter my app's package name--and only its package name--I get an error:
You have specified Package Name, but you did not specify Class Name. Launching a native Android application requires both.
I don't want or need my app to be launched, do I? I only want to track conversion rates of ad clicks to app installs (and runs). The only way I can get the Promote link to show up on the left is to supply values for Class Name and Key Hash and set Facebook Login to Enabled. Is this really necessary?
Yes, it is necessary to fill out those basic details to use our SDK, however, those fields are only used for login authentication via fb - which is the most popular use case for our SDK. Your app will not be launched or anything like that if you supply those fields. For your case, just fill them out and leave it as is and you will be able to run ads without worrying about anything else.
The API requires these fields. Although in my experience it doesn't launch your app. It is merely used for the credentials in the development side of the Facebook integration in www.developer.facebook.com
Hope that helps.
RF

Creating a Password when installing an android apps

I want to create an application that prompts the user to create a password before the application is installed and also before the application can be uninstalled the password must be entered.
I have ran out of ideas on how to go about the code.
Please can anyone give me a code and an insight on how to go about this_
I would appreciate a lot.
You can use shared preference/db to have default value and see if there is a default value you can prompt dialog
I want to create an application that prompts the user to create a
password before the application is installed
To be clear you said BEFORE the app is installed. This might be Possible. But "dirty". In the user journey your user downloads and installs the APK from the market or where ever. None of your app code has run yet so there's nothing to leverage.
A possible work around, which I have heard others use but not tried myself so no guarantees, is to write a login app that when installed prompts for password creation and on success downloads the actual app.
I would probably say - why? What it the motive behind doing this? Lots of apps work fine installing the whole app (Spotify comes to mind).
I don't think this is possible the android market takes downloads and installs or user installs some other way and the user uninstall via manage application in the settings, all of these things happen outside of the scope of an app
See Device Administrations API

Is my Android licensing working as it should?

I have an app that uses the Android licensing. I'm using the ServerManagedPolicy which according to http://developer.android.com/guide/publishing/licensing.html should cache the server responses.
To test it I did the following:
In the developer console, set the server answer to be "LICENSED" for my account.
Connect the phone to Internet, and run the app. It shows the dialog I created to let the user know it is trying to obtain a valid license. It then shows that it found it and lets me run the app.
I exit the app (back button) and the force close it.
I disconnect from the Internet.
I run the app again. I see the dialog again, but this time it says a valid license was not found and doesn't let me run the app.
Shouldn't the ServerManagedPolicy cache the license it found the first time and let me run the app the second time?
I haven't published this app yet. Could this have something to do?
Thanks!
Don't worry, I had the same issue. When you use a test or dev account, licence is not cached bu the ServerManagedPolicy. But for your real clients, it will be cached by LVL.
Nothing in the docs says it clearly, but that works and actually, is nice feature for devs.
Regards,
stéphane
Btw, You should add a link to your app in your profile as I did... I am curious about it but can't guess what it is.

Categories

Resources