64 comments found.

Hello, I’m having this error while opening the application. It was running 100% and out of nowhere it started to generate this error when starting. I have refitted it from ZERO within version 2.0 and also uploaded it with version 3.0 and still continue with the error when opening the application … see:

java.lang.IllegalStateException em com.google.android.gms.ads.internal.client.zzae.zzkg

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rodrigoprado.android/com.rodrigoprado.android.MainActivity}: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2326) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:147) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5264) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695) Caused by: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called. at com.google.android.gms.ads.internal.client.zzae.zzkg(Unknown Source) at com.google.android.gms.ads.internal.client.zzae.zza(Unknown Source) at com.google.android.gms.ads.BaseAdView.loadAd(Unknown Source) at com.google.android.gms.ads.AdView.loadAd(Unknown Source) at com.rodrigoprado.android.MainActivity.onCreate(MainActivity.java:222) at android.app.Activity.performCreate(Activity.java:5975) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269) ... 10 more

Hi, this error was a generated because a bug in version 2. To solve this error:

1) you can use version 3 or

2) You can fill in the ad unit ids with your ad unit ids from admob.

Hi Melvin, do you plan to release the web app and some other features soon? If yes, do you have an ETA? Thanks

Hi, Unfortunately, I’m a bit busy at the moment with other projects of higher priority. The web app is in mind. It will be added but I can’t give you a precise ETA. Hopefully, I would be able to do it in the next 4 months.

1. Would you like to know what the PUSH Icon is?

2. And How to increase the PUSH Icon that appears in the mobile notification. On my cell phone and in the tests we did the icon comes small and wrapped in the icon comes a gray color. That is, I would like the icon to appear larger in PUSH, can you help me with this?

3. How to send a PUSH with sound?

The notification is being generated in MyFirebaseMessagingService.java so you might want to try and play with the code there to get your desired results. You can view all the options of the notification here: https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder.html. Nearly all the code you need to modify is here:
 Uri defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
        NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
                .setSmallIcon(R.mipmap.icon)
                .setContentText(message.getBody())
                .setAutoCancel(true)
                .setSound(defaultSoundUri)
                .setContentIntent(pendingIntent);

hey help me pls i build apps and click run ” Recipe App Stopped”

my device log http://prntscr.com/eao9lt

Hi, thanks for the log :)

Is the admin page you are using version 3 or 2? Please note that since the app is version 3, the admin page needs to be of the same version. If you still can’t solve it, send me a link to your admin page and the apk file via email (melvin@neurondigital.com) and I will check it out for you.

by
by
by
by
by
by