<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fatih Özgür on Medium]]></title>
        <description><![CDATA[Stories by Fatih Özgür on Medium]]></description>
        <link>https://medium.com/@fatihozgur?source=rss-1bc1d3a378c8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NkJziPxhX8XuEY5k7cU91w.jpeg</url>
            <title>Stories by Fatih Özgür on Medium</title>
            <link>https://medium.com/@fatihozgur?source=rss-1bc1d3a378c8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:45:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fatihozgur/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Phone Authentication in Flutter with Firebase]]></title>
            <link>https://blog.codimis.com/phone-authentication-in-flutter-with-firebase-b51902811543?source=rss-1bc1d3a378c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b51902811543</guid>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[otp-verification]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[sms]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Fatih Özgür]]></dc:creator>
            <pubDate>Mon, 05 Dec 2022 21:31:43 GMT</pubDate>
            <atom:updated>2022-12-28T13:16:07.139Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FswX_oq7g_350La1FlttrA.png" /></figure><p>We can say that the authentication method with the phone differs from other authentication methods in that it is strong. It prevents some forms of identity theft and unwanted attacks by making sure that a user cannot use different accounts.</p><h4>What is OTP?</h4><p>One-time password (OTP) is an automatically generated password that authenticates a user. An OTP is more secure than a static password.</p><p>In this article, I will tell you how to set up this verification method using Firebase. You just have to follow the steps. I hope you will like it.</p><h3>Step 1: Adding Packages</h3><p>After creating your project, we must add the necessary packages. Packages to be added are listed below.</p><ol><li><a href="https://pub.dev/packages/firebase_auth">firebase_auth</a></li><li><a href="https://pub.dev/packages/firebase_core">firebase_core</a></li><li><a href="https://pub.dev/packages/fluttertoast">fluttertoast</a> (optional)</li></ol><h3>Step 2: Firebase Project Creation</h3><p>At this stage, we need to open a project on Firebase. Simply follow the steps below.</p><p>Go to the <a href="https://firebase.google.com/">Firebase</a> site. Sign in with your Google account.</p><p>Create project.</p><p>Click on the Android icon.</p><p>In the folder where your project is located, under defaultConfig under android&gt;app, write the name of Package in this field opposite applicationID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*FvfRjwubN74Teij-RcUdnw.png" /></figure><p>Download the google-services.json file and locate it under android&gt;app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v_lMe5IgsR1rpLZ1FzqFFw.png" /></figure><p>In this step, you need to add the necessary plugins to your build.gradle file under android&gt;app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5cz_nSyrNv6YE_4PpWXLTw.png" /></figure><p>Now continue by making the necessary additions to your build.gradle file under gradle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OsFd-iUeuW8QZLdJqp0Iiw.png" /></figure><h3>Step 3: Preparing the Application</h3><p>At this stage, we will prepare the pages and the functions that will work on them. The first page we&#39;ll work on is the login page. On this page, a number will be obtained from the user, and a field will be opened where he can enter the OTP code if he receives an SMS to the number.</p><p>For more detailed information, you can take a look at <a href="https://firebase.google.com/docs/auth/flutter/phone-auth">Firebase’s documentation</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b26e67f510f059a1e3ef4135ce232c6d/href">https://medium.com/media/b26e67f510f059a1e3ef4135ce232c6d/href</a></iframe><p>The second page is the onboard page to be switched after login. This place can be completely according to your wishes. After the user is logged in, there will be an option to log out.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9cafef5baf0a8b1d2350401f1a4db54b/href">https://medium.com/media/9cafef5baf0a8b1d2350401f1a4db54b/href</a></iframe><p>We need to initialize Firebase in main.dart file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c022feb038990c0ded512566ca37ed9/href">https://medium.com/media/3c022feb038990c0ded512566ca37ed9/href</a></iframe><h3>Step 4: Adding Fingerprint</h3><p>You need to create fingerprint on your computer. You can use the code below.</p><pre>keytool -list -v -keystore &quot;%USERPROFILE%\.android\debug.keystore&quot; -alias androiddebugkey -storepass android -keypass android </pre><blockquote>Note: If you have JDK on your computer, the keytool is installed. Or you can visit <a href="https://www.oracle.com/in/java/technologies/downloads/"><strong>here</strong></a> to install JDK.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SRowP_rJgOorWhmdCutJNQ.png" /></figure><p>Go to the settings of your Firebase project. In the “Add Fingerprint” option in the “Your Apps” section, enter the SHA1 and SHA256 values respectively</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PDopSqM-IlpKLS0D6Othw.png" /></figure><h3>Step 5: Authentication Activation</h3><p>Click “Authentication” at the bottom of the Project Overview page. After clicking the “Get Started” button, activate the “Phone” option among the methods that appear.</p><p>The project is finished at this stage. It can redirect the user to the reCaptcha page for spam protection. If you don’t want this to happen, I can recommend that you activate <a href="https://console.cloud.google.com/apis/library/androidcheck.googleapis.com">Android Device Verification</a> API for your project via Google Cloud Console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*hYKFRiABTZNdx22K1NB2TA.png" /></figure><blockquote>Note: Note that when you enable this API, it will only work on phones with Google Play Services.</blockquote><p>Thank you for reading the Medium post I shared. If you want to read the articles that I will share in the future, you can follow me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b51902811543" width="1" height="1" alt=""><hr><p><a href="https://blog.codimis.com/phone-authentication-in-flutter-with-firebase-b51902811543">Phone Authentication in Flutter with Firebase</a> was originally published in <a href="https://blog.codimis.com/">Codimis</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Carousels for Games in Flutter]]></title>
            <link>https://blog.codimis.com/making-carousels-for-games-in-flutter-ebb4b2ce0b83?source=rss-1bc1d3a378c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebb4b2ce0b83</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[slideshow]]></category>
            <category><![CDATA[carousel]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Fatih Özgür]]></dc:creator>
            <pubDate>Sun, 23 Oct 2022 19:18:35 GMT</pubDate>
            <atom:updated>2022-10-31T11:45:06.772Z</atom:updated>
            <content:encoded><![CDATA[<p>You may have seen that in some games played on the phone, the player selection part is in the form of a carousel. Let’s look at how this kind of selection system can be made as a widget in Flutter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rLZx61SMpOj8IHSA.gif" /></figure><p>If you’re new to Flutter like me or just starting out, you can check out <a href="https://flutter.io/get-started/"><strong>Flutter’s documentation</strong></a> for setups and more. There may be deficiencies or erroneous uses in the codes I share. I would be very happy if you forward them to me so that I can edit the article again and improve myself :)</p><p>We create a player model for adding and removing players, changing nicknames and photos, etc. that you may want to add to your project. We will use <a href="https://pub.dev/packages/provider"><strong>Provider</strong></a> so that other widgets can be aware of the changed information.</p><p>Let’s create the player model.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c0edbfec35d2ab4f9b894ea4cb2ecd89/href">https://medium.com/media/c0edbfec35d2ab4f9b894ea4cb2ecd89/href</a></iframe><p>We know that everything in Flutter is a widget. For this, let’s write the widget of the players to be used in our carousel as a start. This widget will change its size, opacity, photo, and name parts according to the given parameters.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/298ccc03a86a67ac3f9bb58197a92ff1/href">https://medium.com/media/298ccc03a86a67ac3f9bb58197a92ff1/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/0*1-t1glQQHYOG2VLZ.png" /><figcaption>Left side opacity 0.5 Right side opacity 1.0</figcaption></figure><p>We will have a Player Carousel widget where we will display the carousel items according to the parameters we want. We will write the view model of this widget in order to move the carousel to the right and left. We will also rotate the carousel in continuity, and adjust the index of the selected player.</p><p>Let’s start with the writing of the widget. By making changes to the carousel items we wrote above, you can arrange them in any size, number, and opacity. For now, we will do it in the view in the screenshot at the beginning of the article.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b954bd35ec8bbdace7023e134a422dc3/href">https://medium.com/media/b954bd35ec8bbdace7023e134a422dc3/href</a></iframe><p>Let’s write the view model of our widget. Here are the functions we use in our widget. When there is a change, we can notify other widgets with the notifyListener() function and make changes to other widgets if needed.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c5bc95d144bc28c2041428cbeaf57a5/href">https://medium.com/media/4c5bc95d144bc28c2041428cbeaf57a5/href</a></iframe><p>Our structure is ready. The parts up to this point will be enough for you to add to your own project. One of the points you should pay attention to is the use of the provider. I am also sharing the main.dart file for example usage. The changes you make here are entirely up to you. I made a version where one of the players would be randomly selected at the start and screened. You can find the entire sample project <a href="https://github.com/GeoGTR/Player-Selection-Carousel"><strong>here</strong></a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1af294d48892c35288a4dabc24265bf7/href">https://medium.com/media/1af294d48892c35288a4dabc24265bf7/href</a></iframe><p>I&#39;ll continue to learn Flutter and share this build on pub.dev. I aim to take it as a package and bring it to the version that the developers will use and share it as a blog on Medium. Thank you for reading the first Medium post I shared. If you want to read the articles that I will share in the future, you can follow me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebb4b2ce0b83" width="1" height="1" alt=""><hr><p><a href="https://blog.codimis.com/making-carousels-for-games-in-flutter-ebb4b2ce0b83">Making Carousels for Games in Flutter</a> was originally published in <a href="https://blog.codimis.com/">Codimis</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter’da Oyuncu Seçimleri İçin Carousel Yapımı]]></title>
            <link>https://medium.com/@fatihozgur/flutterda-oyuncu-se%C3%A7imleri-i%CC%87%C3%A7in-carousel-yap%C4%B1m%C4%B1-cbf52fba45c2?source=rss-1bc1d3a378c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbf52fba45c2</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[slider]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[carousel]]></category>
            <dc:creator><![CDATA[Fatih Özgür]]></dc:creator>
            <pubDate>Sat, 22 Oct 2022 20:47:28 GMT</pubDate>
            <atom:updated>2022-10-23T11:46:22.608Z</atom:updated>
            <content:encoded><![CDATA[<p>Bazı oyunlarda oyuncu seçme kısmında kullanılan carousel yaklaşımı çoğunlukla beraber oynanan kelime oyunları benzeri oyunlarda karşımıza çıkıyor. Bu tarz bir seçme sistemini widget olarak Flutter’da nasıl yapılabilir beraber bakalım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VFQ_oHMcM7KM21WsOvvMIA.gif" /></figure><p>Eğer benim gibi Flutter’da yeni sayılırsanız veya yeni başlıyorsanız kurulumlar ve daha birçok şey için <a href="https://flutter.io/get-started/"><strong>Flutter’ın dokümanları</strong></a>na göz atabilirsiniz. Paylaştığım kodlarda eksiklik veya hatalı kullanımlar bulunabilir. Kendimi geliştirebilmem adına bana iletmeniz beni çok mutlu eder :)</p><p>İleride eklemeniz muhtemel olan oyunun farklı yerlerinde oyuncu ekleme, çıkarma, takma ad ve fotoğraf değişimi vesaire işlemleri için Player Modeli oluşturuyoruz. Değişen bilgilerden diğer widgetların haberi olabilmesi için <a href="https://pub.dev/packages/provider"><strong>Provider</strong></a> kullanacağız.</p><p>Player modeli oluşturalım.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c0edbfec35d2ab4f9b894ea4cb2ecd89/href">https://medium.com/media/c0edbfec35d2ab4f9b894ea4cb2ecd89/href</a></iframe><p>Flutter’da her şeyin bir widget olduğunuz biliyoruz. Bizde bunun için başlangıç olarak carouselimizde kullanılacak oyuncuların widgetını yazalım. Bu widget verilen parametlere göre boyutları, opaklığı, gösterdiği fotoğrafı ve isim kısmı değişiklik gösterecek.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/298ccc03a86a67ac3f9bb58197a92ff1/href">https://medium.com/media/298ccc03a86a67ac3f9bb58197a92ff1/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*Wh4ayq2ZSrmJbq36aKbzgw.png" /><figcaption>Sol taraf opaklığı 0.5 Sağ taraf opaklığı 1.0</figcaption></figure><p>Carousel itemlerini istediğimiz parametlere göre göstereceğimiz bir Player Carousel widgetımız olacak. Carouseli sağa ve sola doğru hareket ettirme, carouselin devamlılık içinde dönebilmesi, seçili oyuncunun indexini ayarlama gibi işlemlerin yapılabilmesi için bu widgetın birde View Modelini yazacağız.</p><p>Widgetın yazımıyla başlayalım. Yukarıda yazdığımız carousel itemleri değişiklikler yaparak istediğiniz boyutlarda, sayıda ve opaklıkta dizebilirsiniz. Şimdilik yazının başında bulunan ekran görüntüsündeki görünümde yapacağız.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b954bd35ec8bbdace7023e134a422dc3/href">https://medium.com/media/b954bd35ec8bbdace7023e134a422dc3/href</a></iframe><p>Widgetımızın view modelini yazalım. Burada widgetımızda kullandığımız fonksiyonlar bulunmakta. Değişiklik olduğu zaman notifyListener() fonksiyonuyla diğer widgetları bilgilendirip ihtiyaç halinde başka widgetlarda değişiklikler yaptırabiliyor hale geliyoruz.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c5bc95d144bc28c2041428cbeaf57a5/href">https://medium.com/media/4c5bc95d144bc28c2041428cbeaf57a5/href</a></iframe><p>Kurduğumuz yapı neredeyse hazır sayılır. Buraya kadar olan kısım kendi projenize eklemeniz için yeterli olacaktır. Dikkat etmeniz gereken noktalardan biri providerın kullanımıdır. Örnek kullanım için main.dart dosyasını da paylaşıyorum. Burada yapacağınız değişiklikler tamamen size kalmış durumda. Ben ilk başta oyunculardan birinin rastgele seçilip ekrana geleceği bir versiyonu yaptım. Örnek projenin tamamına <a href="https://github.com/GeoGTR/Player-Selection-Carousel"><strong>buradan</strong></a> ulaşabilirsiniz.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1af294d48892c35288a4dabc24265bf7/href">https://medium.com/media/1af294d48892c35288a4dabc24265bf7/href</a></iframe><p>Kendimi Flutter’da daha fazla geliştirip bu yapıyı pub.dev adresinde paylaşacağım. Geliştiriciler paket olarak çekip kullanacağı versiyona getirip yine Medium’da paylaşmayı hedeflemekteyim. Paylaştığım ilk Medium yazısını okuduğunuz için teşekkür ederim. İleride paylaşacağım yazıları okumak isterseniz takip edebilirsiniz.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbf52fba45c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>