Posts

Showing posts from January, 2020

Method Called When Notification Silent is True or False iOS Swift Firebase

Image
Good day guys, today I want to share about iOS programming. Before I got the idea of this article, I got an issue. The issue is when you want to get notification data when user click on notification banner or user is running the app. It's different way to get the notification that I will give you the code below But I will explain a little bit first. I have tried with firebase library, so make sure you have configured your firebase or any libraries that you used for your notification. But it will be better if we used the same. You need to set it according to documation that I have read. Mostly the configuration will be in AppDelegate class. Then from AppDelegate you will go into your others ViewController. There are the method that's called that I want to show to you guys, the methods is userNotificationCenter and didReceiveRemoteNotification. I will give silent true or silent false comment for you guys. So It will be easy for you to understand what I'm trying to figu

Sharing AFK ARENA Game That I Play Everyday

Image
Hello guys, today I doesn't share about tutorial coding. I keep it for next week, because I want to have variation in my blog. I love playing game to waste time when I'm waiting to do something and make me not bored. I played many mobile games before that I shared sometimes on youtube like Mobile Legends, PUBG, Ragnarak Eternal and World of Kings. World of kings is latest game I've played genre MMPORG. It's consuming so much time and I stopped then. Fortunely I found a good game that we can play anytime in everyday. It's called AFK ARENA. It's released on April 2019. It's mobile games that created Lilith. The developer is good because they sometimes heard the comunity. There are two forums that I followed about this facebook and reddit. I played this game last year september month I think. It's about 5 months so far. I created four accounts because I like it to do daily and when we draw to get heroes card. That's making sick for hoping RNG hah

How to Make Blinking TextView Android

Image
Good day guys, It's the second of week on 2020 year. We need a good boost to start every day to do something good way. I listened to many new songs and old song too. It's good to refresh my brain to think. Creating an new article every week it's not easy though. I need a problem to solve haha. Maybe I will share what game that I am playing on the next article. We can see how many visitor in our blog, for me it's not much people see my posts. But I'm gratefully my post will last long because it stands on Blogger. We know blogger it's so long, and I hope it will be better for the future. So the article for now, it's about TextView Android. I have an app called To Do List. There's a fragment calendar where you can click the day and you will be directed to the date in list view fragment task lists. So it's very helpful for users to choose where they want to see data according to date. Like images above what I mean about. For making user friendl

Avoid Whatsapp Share Only Text in UIActivityViewController

Image
Hello guys, this is a good day to start a new resolution because. It's still fresh 2020, we can start doing something new or something that we want to complete when this year ends. I hope I can always write a new article every week with good quality. Thanks for support to be consistence it's hard and easy to do if you are in perservence mode. If you ever have installed app called instagram or others social media, you will find a share feature. where you can share your photo to others app. Like email, notes or social media. Fortunately iOS provide the feature to share called UIActivityViewController. So it's like we use library in iOS, we just create our text or photo sending to UIActivityViewController. Then it will create share feature like above. But I have a problem when trying to share on Whatsapp. It just showed text when I sent image and text. Unfortunely Whatsapp only support image or text, not both of them. So we need to choose what's gonna we share. In m