Posts

How to address Let's Encrypt renew failure?

Image
recently certificate for this site somehow got expired. It should got auto renewed. Since I added schedule event manually via crontab, Ghost cli also added one cron event while you run `ghost setup ssl`. I checked via `crontab -e`: 1 1 1 * * /home/errong_leng/.acme.sh/acme.sh --issue --home /etc/letsencrypt --domain errong.win --webroot /home/errong_leng/www/blog/system/nginx-root --reloadcmd "nginx -s reload" --accountemail errong.leng@gmail.com --force 2 2 2 * * /home/errong_leng/.acme.sh/ac   ...

2023 March Adsense Report

Image
RPM CA$0.31 presenting 583 times. income increase CA0.06$ Only 8 posts published errong.win still wait for reviewing Summary March always has Spring Break for kids. Kids were having fun, they learned swimming, skating and had a tour to sea to sky gondola. The whole family slept late during that period. So not that productivity in March. April, fighting!!!   ...

How to pass properties from native(Android) to React Native?

Image
You can pass properties down to the React Native app by providing a custom implementation of ReactActivityDelegate in your main activity. This implementation should override getLaunchOptions to return a Bundle with the desired properties. The key part is a custom implementation of ReactActivityDelegate I always like to show you code first before dive deep the implementation. ReactRootView The guide says how to set app properties via a react root view, but it didn't mention how you can get i   ...

App launch ads implementation guide for your React Native (Android app)

Image
You might follow the app open implementation guide to integrate the SDK. This guide is intended for publishers integrating app open ads using the Google Mobile Ads Android SDK. App open ads can be closed at any time, and are designed to be shown when your users bring your app to the foreground. As you observed, the app open ads is not shown when your app first got lunched. Assuming your react native app might take some time to show up, you might think of showing a loading spinner to the users   ...