<?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 Soner Güçlü on Medium]]></title>
        <description><![CDATA[Stories by Soner Güçlü on Medium]]></description>
        <link>https://medium.com/@sg.sonerguclu?source=rss-965c88727497------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FFZiMeKVrHdlT0QbIviTug.jpeg</url>
            <title>Stories by Soner Güçlü on Medium</title>
            <link>https://medium.com/@sg.sonerguclu?source=rss-965c88727497------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:02:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sg.sonerguclu/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[What are your salary expectations?]]></title>
            <link>https://medium.com/@sg.sonerguclu/what-are-your-salary-expectations-81ec47f13fc5?source=rss-965c88727497------2</link>
            <guid isPermaLink="false">https://medium.com/p/81ec47f13fc5</guid>
            <category><![CDATA[salary-negotiations]]></category>
            <category><![CDATA[hiring-tips]]></category>
            <category><![CDATA[interview]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[business]]></category>
            <dc:creator><![CDATA[Soner Güçlü]]></dc:creator>
            <pubDate>Sat, 19 Oct 2024 16:12:13 GMT</pubDate>
            <atom:updated>2024-10-19T18:37:39.061Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PPVibbd0Il3fZhSv2t-PYg.jpeg" /></figure><p>If you’re a beginner in the field or you really want that job, then it’s safe to fly low, but don’t give an exact number, give range. 2k to 5k maybe.</p><p>If you’re experienced and confident , you can be brave but not too much and still not exact number, range.</p><p>Not:</p><p>I am not an HR. These are just my opinions.</p><p>Sat, Oct 19, 2024</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81ec47f13fc5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect to Localhost on Your Phone]]></title>
            <link>https://medium.com/@sg.sonerguclu/connect-to-localhost-on-your-phone-e6023a4833d4?source=rss-965c88727497------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6023a4833d4</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Soner Güçlü]]></dc:creator>
            <pubDate>Fri, 18 Oct 2024 12:40:25 GMT</pubDate>
            <atom:updated>2026-01-17T15:05:23.557Z</atom:updated>
            <content:encoded><![CDATA[<h3>Connect Localhost on Your Phone</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*79vHFTnqqv2rxe78anHgBw.jpeg" /></figure><p>I have recently discovered that it’s not complicated to connect localhost on a mobile phone, and I believe it can be quite useful!When I design a website, I tend to keep my code editor full screen. Instead of going back and forth between windows, <strong>wouldn’t it be great to use our phone 📱 as a second monitor? </strong>It would be even more helpful if our design is mobile first. We might want to try this for various reasons. So let’s learn how!</p><p>“<strong><em>Both devices need to be on the same network (Wi-Fi).”</em></strong></p><p>Even if we aren’t connected to the same wifi network, there must be ways to connect localhost, <strong>but</strong> in this article, we will be learning how to achieve it when we have access to a wifi network.</p><h3>The Things We Need Before Starting:</h3><ul><li>Our phone and computer must be connected to the same wifi network.</li><li>IP address of the computer.</li><li>The port number we are serving the web page.</li></ul><h3>Let’s walk through how to get the IP address of the computer;</h3><p>On <strong>Windows</strong>, open Command Prompt and type “<strong>ipconfig</strong>”. Look for the IPv4 Address.</p><p>On <strong>macOS/Linux</strong>, open Terminal and type “<strong><em>ifconfig”</em></strong> or ip a. Look for the IP address of your machine.</p><blockquote>Usually, it is something like (192.168.x.x)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*GhUPByXdiXDcxtOCRUgjdQ.png" /><figcaption>ipconfig on windows</figcaption></figure><h3>Access the localhost server:</h3><p>Let’s say we have this index.html file, and we are live serving it on port 5500.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*XBBD-oa6z4siNqCh-uMGjg.png" /><figcaption>index.html</figcaption></figure><p>Replace localhost with your computer’s local IP address. For example, if your computer’s IP is <strong>192.168.1.10</strong> and your server is running on port <strong>5500</strong>, you would visit <strong>http://192.168.1.10:5500</strong> on your smartphone’s browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*noiobTjjKHIUYjI83ypzSw.jpeg" /><figcaption>http://192.168.1.10:5500 on phone</figcaption></figure><h3>Caution:</h3><ul><li>The link should start with <strong>http</strong>, not<strong> https!</strong></li></ul><p>Fri, October 18, 2024</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6023a4833d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prompt Users to Upgrade for New Version of Your App via Play Console]]></title>
            <link>https://medium.com/@sg.sonerguclu/prompt-users-to-upgrade-for-new-version-of-your-app-via-play-console-6f415f8a733c?source=rss-965c88727497------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f415f8a733c</guid>
            <dc:creator><![CDATA[Soner Güçlü]]></dc:creator>
            <pubDate>Sun, 17 Dec 2023 11:45:47 GMT</pubDate>
            <atom:updated>2023-12-21T12:15:28.418Z</atom:updated>
            <content:encoded><![CDATA[<p><em>14.30, Thu, Dec 14</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*hhAdeQM1Kdb6zrCS4G6sNg.jpeg" /><figcaption>Note: All screen shots r taken in mobile.</figcaption></figure><p>We update our app on play console but the users might not install the new version right away. It can be the case, u want them to upgrade for new version, maybe there were serious bugs in previous version or u added new, important features so u want em to update as soon as possible. In this article, I will try to explain how to notify users that there’s a new version available. They will see a reminder in every cold restart of the app.</p><h3>Cold and Hot Restart:</h3><p>If you restart an app which doesn’t run in background already or cleared from previously used apps then it is called <em>cold restart.</em></p><p>If you re-open an app which was open before, running in background then it’s called <em>hot restart.</em></p><h3>How to Prompt Users:</h3><p>After releasing new bundle, version, you can notify the users who are still using the old version of your app. To do that open your play console account and choose the app you wanna make changes then on the side menu, go to <strong>release &gt; app bundle explorer.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*LU99hzSnPaGHaSPxiD8PnA.jpeg" /></figure><p>Here, you will see the versions. Choose the old version u want the users to update from then click on the arrow far right,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*mgShprWwHUdn1oC4-2bhBA.jpeg" /></figure><p>Note that, you want to notify the ppl using the old version so you need to choose the old bundle.</p><p>After you clicked the arrow, new page will be opened;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Rm8xnCT-8ZaVMRKen1n5vg.jpeg" /></figure><p>In this new page, you need to click on the dropdown button named <strong>“recovery tools “</strong>, it will open a pop up menu and in this menu, you will see the option <strong>prompt users to update</strong></p><p>After these steps, you can send the changes to review.</p><h3>Watch The Progress</h3><p>You can analyze the update progress in the menu: <strong>release &gt; app bundle explorer &gt; recovery</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*MrYrETo1puSaBEwqAxil0Q.jpeg" /></figure><h3>Also don’t forget that;</h3><p>You need to have a new bundle installed to set these settings and prompt users.</p><p>You need to be a little patient after setting the prompt. In my case, it started notifying users about one day later.</p><p>If everything was successful, you will see the notification in every cold start until you update it;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*51kVGI_-A_h7-1YOL2kW3w.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f415f8a733c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Update Your Existing Android App on Play Console]]></title>
            <link>https://medium.com/@sg.sonerguclu/how-to-update-your-existing-android-app-on-play-console-9a4a59cd973b?source=rss-965c88727497------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a4a59cd973b</guid>
            <dc:creator><![CDATA[Soner Güçlü]]></dc:creator>
            <pubDate>Thu, 14 Dec 2023 11:23:39 GMT</pubDate>
            <atom:updated>2023-12-14T11:23:39.357Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Thu, Nov 9</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Qkhr0FCqQ_5bCWTt3EZTgQ.jpeg" /><figcaption>9th of November, 2023</figcaption></figure><p>After publishing your app, you probably will need to update it. Maybe for some bug fixes or to add new features…</p><p>Let’s discuss how to do that in this article. A small suggestion, don’t update ur app so often, it’s annoying imo.</p><h3>Re Generate .aab File</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*ScNA85tLN_5bFUDvOhgW8w.jpeg" /><figcaption>build.gradle</figcaption></figure><p>We need to make some changes in <strong>build.gradle</strong> file in your project folder so go ahead and open it. We care about the <strong>versionCode</strong> and <strong>versionName</strong> under the android &gt; defaultConfig in build.gradle. Increase them by 1 and save. In my case, it will look like;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*BOsXdgsb_caLY69CA_bZkA.jpeg" /><figcaption>build.gradle</figcaption></figure><p>Now, re generate your .aab file…</p><h3>Open Your Play Console Account</h3><p>Go ahead and open your play console account. Choose the app you would like to update then on the side menu, go to <strong>release</strong> <strong>&gt; production.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*cnVazqYi75w9jRE2DpLDiw.jpeg" /></figure><p>Now, click on <strong>create</strong> <strong>new version </strong>on the top right corner;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*JDGfPd-1X9LEHJgBYQrFEQ.jpeg" /></figure><p>Here, upload your updated .aab file. Set a version name and version notes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*q-U8YHYSKnpLNT2e0edUlg.jpeg" /></figure><p>Then send it to review and wait for the response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*fDCYyRDBBCjXfg9zVjlcRA.jpeg" /></figure><p>That’s it 🥳 🎊 🎉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4a59cd973b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Local Notifications with Notifee Library in React Native]]></title>
            <link>https://medium.com/@sg.sonerguclu/local-notification-with-notifee-library-in-react-native-1b7ceea26771?source=rss-965c88727497------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b7ceea26771</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Soner Güçlü]]></dc:creator>
            <pubDate>Wed, 25 Oct 2023 14:10:11 GMT</pubDate>
            <atom:updated>2023-11-21T13:43:21.595Z</atom:updated>
            <content:encoded><![CDATA[<p>Push notifications are crucial part of mobile apps. If you are using expo CLI, you needn’t check for external libraries, it already has a built in package in expo documentation but if you’re using bare React Native project, you have to use an external library because there’s not one in React Native documentation but no worries, it is easy to find several external libraries and one of them is “<em>Notifee</em>”. It’s one of the most reliable, easy to use one I could find among others. I have tried other libraries before <em>Notifee</em> but i was partly successful with some errors. Also, the installation process was much more tedious compared to Notifee. I had to dig native files in Android or Ios folders to give permissions or some linking process. However, it is much easier with Notifee, as you will see soon. In the coming sections, I will try to explain how to manage local notifications in a React Native project step by step or topic by topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*nyDzFgdnP71qrqr28Gx-Sg.jpeg" /><figcaption>Notifee Documentation Home Page</figcaption></figure><h3>Local Notifications and Remote Notifications</h3><p>Before going further, let’s make the difference clear between local and remote notification. Remote notification is related with internet, notification triggered remotely. On the other hand, local notification doesn’t involve internet connection, it occurs in app itself; with a button push or in a specific time etc… In this guide, we will focus on local notifications only.</p><h3>Initialize a New React Native Project:</h3><p>To remove previously installed global react-native-cli packages, as it may cause unexpected issues:</p><pre>npm uninstall -g react-native-cli @react-native-community/cli</pre><p>To initialize a new React Native project called <strong>AwesomeProject</strong>:</p><pre>npx react-native@latest init AwesomeProject</pre><p>Go ahead and clean up the unused code in our new RN project.</p><h3>Now, Let’s Install <em>Notifee</em> Package:</h3><p>Install via npm:</p><pre>npm install --save @notifee/react-native</pre><p>Install via yarn</p><pre>yarn add @notifee/react-native</pre><p>Users on <strong>React Native</strong> <strong>0.60+</strong> automatically have access to autolinking, requiring no further manual installation steps.</p><p><em>17:12, Wed, October 25 … To be continued awk</em></p><h3>Importing The Library:</h3><pre>import notifee from &#39;@notifee/react-native&#39;;</pre><p>The library also exports the API types, documented within the Reference API. For example to import the AndroidColor type</p><pre>import { AndroidColor } from &#39;@notifee/react-native&#39;;</pre><h3>Let’s Display a Local Notification:</h3><p>For that, we will have a button. When we press that it will call the <strong>onDisplayNotification</strong><em> </em>function which includes the necessary parts to display our notification. You can put the code below in a component or directly in the App.tsx with the necessary imports.</p><pre>import notifee from &#39;@notifee/react-native&#39;;<br>import { Button, View } from &#39;react-native&#39;;<br><br>export default function App() {<br>  async function onDisplayNotification() {<br>    // Request permissions (required for iOS)<br>    await notifee.requestPermission()<br><br>    // Create a channel (required for Android)<br>    const channelId = await notifee.createChannel({<br>      id: &#39;default&#39;,<br>      name: &#39;Default Channel&#39;,<br>    });<br><br>    // Display a notification<br>    await notifee.displayNotification({<br>      title: &#39;Small Icon&#39;,<br>      body: &#39;A notification using the small icon!&#39;,<br>      android: {<br>        channelId,<br>        smallIcon: &#39;ic_launcher&#39;, // optional, defaults to &#39;ic_launcher&#39;.<br>        // pressAction is needed if you want the notification to open the app when pressed<br>        pressAction: {<br>          id: &#39;default&#39;,<br>        },<br>      },<br>    });<br>  }<br><br>  return (<br>    &lt;View&gt;<br>      &lt;Button title=&quot;Display Notification&quot; onPress={() =&gt; onDisplayNotification()} /&gt;<br>    &lt;/View&gt;<br>  );<br>}</pre><p>For Android, we need to have a channel.</p><p>For IOS, we need to request permissions.</p><p>Finally, <strong>displayNotification</strong><em> </em>function in the code above has the “clincher” fields for our notification such as title of the notification, body message of the notification, notification icon…</p><p>Let’s see how our notification looks like;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*EpDcfLGOlEAiieGn_ObGtg.jpeg" /></figure><p>To be continued…</p><p>In most cases, we wouldn’t wanna trigger a notification by pressing a button. It is quite useless. Instead, let’s try a local notification with <strong>setTimeout.</strong> We will have a useEffect with an empty dependency array so it will run once. When that component mounted, our setTimeout in useEffect will call the <strong>onDisplayNotification </strong>function after 5 seconds ( 5000 milli seconds ). Let’s see how that code looks like;</p><pre>import notifee from &#39;@notifee/react-native&#39;;<br>import { useEffect } from &#39;react&#39;;<br>import { Text, View } from &#39;react-native&#39;;<br><br>export default function App() {<br><br>  useEffect(() =&gt; {<br>    setTimeout(() =&gt; {<br>      onDisplayNotification()<br>    }, 5000);<br>  }, [])<br>  <br>  async function onDisplayNotification() {<br>    // Request permissions (required for iOS)<br>    await notifee.requestPermission()<br><br>    // Create a channel (required for Android)<br>    const channelId = await notifee.createChannel({<br>      id: &#39;default&#39;,<br>      name: &#39;Default Channel&#39;,<br>    });<br><br>    // Display a notification<br>    await notifee.displayNotification({<br>      title: &#39;Small Icon&#39;,<br>      body: &#39;A notification using the small icon!&#39;,<br>      android: {<br>        channelId,<br>        smallIcon: &#39;ic_launcher&#39;, // optional, defaults to &#39;ic_launcher&#39;.<br>        // pressAction is needed if you want the notification to open the app when pressed<br>        pressAction: {<br>          id: &#39;default&#39;,<br>        },<br>      },<br>    });<br>  }<br><br>  return (<br>    &lt;View&gt;<br>      &lt;Text&gt;Set a notification when the app is opened.&lt;/Text&gt;<br>    &lt;/View&gt;<br>  );<br>}</pre><p>You will see your notification 5 seconds after you open your app but let’s try something a little different, let’s close the app with back button or in any way u prefer without waiting 5 seconds. You will realize that there’s no notification even though we triggered the useEffect and setTimeout. This means that our app doesn’t run in background. When we close the app, all tasks also get closed. I guess it’s the default behavior of React Native projects? They don’t run in background unless u make them so by external packages or <a href="https://reactnative.dev/docs/headless-js-android"><em>headless js</em></a>.</p><p>This is a problem, we need to be able to get a notification especially when the app is closed or in the background. For that, <strong>Triggers</strong> in Notifee comes into play.</p><h3>Triggers:</h3><p>“ Triggers can be used to display notifications in-advance when a specific condition is met such as time. ”</p><p>If we use <em>createTriggerNotification i</em>nstead of <em>displayNotification, </em>the<em> </em>notification<em> </em>will work, no matter if the app is closed or it’s in the background and its usage is quite simple and similar to display notification. Additionally, u need to have a trigger object usually with time stamps, date object. Also make sure u have ur channel ready before <em>createTriggerNotification </em>method. Let’s set a trigger notification which will be shown at 11:10 am;</p><pre>import React from &#39;react&#39;;<br>import { View, Button } from &#39;react-native&#39;;<br>import notifee, { TimestampTrigger, TriggerType } from &#39;@notifee/react-native&#39;;<br><br>function Screen() {<br>  async function onCreateTriggerNotification() {<br>    const date = new Date(Date.now());<br>    date.setHours(11);<br>    date.setMinutes(10);<br><br>    // Create a channel<br>    const channelId = await notifee.createChannel({<br>      id: &#39;Default&#39;,<br>      name: &#39;Default-Channel&#39;,<br>      importance: AndroidImportance.HIGH,<br>    });<br><br>    // Create a time-based trigger<br>    const trigger: TimestampTrigger = {<br>      type: TriggerType.TIMESTAMP,<br>      timestamp: date.getTime(), // fire at 11:10am (10 minutes before meeting)<br>    };<br><br>    // Create a trigger notification<br>    await notifee.createTriggerNotification(<br>      {<br>        title: &#39;Meeting with Jane&#39;,<br>        body: &#39;Today at 11:20am&#39;,<br>        android: {<br>          channelId: &#39;your-channel-id&#39;,<br>        },<br>      },<br>      trigger,<br>    );<br>  }<br><br>  return (<br>    &lt;View&gt;<br>      &lt;Button title=&quot;Create Trigger Notification&quot; onPress={() =&gt; onCreateTriggerNotification()} /&gt;<br>    &lt;/View&gt;<br>  );<br>}</pre><p>The notification will look something like this for the code above;</p><figure><img alt="screen shot for trigger notification" src="https://cdn-images-1.medium.com/max/392/1*2IkaInnXkHyfeGdfVZRtuw.png" /><figcaption>Trigger notification with time stamp.</figcaption></figure><p>If u need, you can be more specific when you are setting the time;</p><pre> const date = new Date(Date.now());<br> date.setHours(20);<br> date.setMinutes(14);<br> date.setSeconds(30);<br> date.setFullYear(2023);<br> date.setMonth(11);<br> date.setDate(2);</pre><p>Now, u can go ahead and close the app without waiting the notification. You will see that the notification works this time even though the app doesn’t run in background. Ig Notifee is saving em in memory.</p><h3>Events:</h3><p>We should also take a look at the Events in Notifee. They r useful when we press the notification in the notification panel. Default behavior is to open the app but u can customize the behaviors ofc. Now, let’s see how to handle the events. There are two types as <em>background</em> and <em>foreground.</em></p><p><strong>Foreground Events:</strong></p><p>An application is deemed in the foreground only the device is unlocked, and the application is running &amp; is in view (foreground). For any other situation, a background event is used instead.</p><p>To handle foreground events, we can simple add the code below in App.tsx</p><pre>import { useEffect } from &#39;react&#39;;<br>import notifee, { EventType } from &#39;@notifee/react-native&#39;;<br><br>function App() {<br>  // Subscribe to events<br>  useEffect(() =&gt; {<br>    return notifee.onForegroundEvent(({ type, detail }) =&gt; {<br>      switch (type) {<br>        case EventType.DISMISSED:<br>          console.log(&#39;User dismissed notification&#39;, detail.notification);<br>          break;<br>        case EventType.PRESS:<br>          console.log(&#39;User pressed notification&#39;, detail.notification);<br>          break;<br>      }<br>    });<br>  }, []);<br>}</pre><p><strong>Background Events:</strong></p><p>An application is deemed in the background if the device is locked, the application is running &amp; is in not in view (minimized), the application is killed/quit.</p><p>“ The <em>onBackgroundEvent</em> method should be registered as early on in your project as possible (e.g. the index.js file) ”</p><p>To handle background events, we need to add this code in index.js</p><pre>// index.js<br>import { AppRegistry } from &#39;react-native&#39;;<br>import notifee, { EventType } from &#39;@notifee/react-native&#39;;<br>import App from &#39;./App&#39;;<br><br>notifee.onBackgroundEvent(async ({ type, detail }) =&gt; {<br>  const { notification, pressAction } = detail;<br><br>  // Check if the user pressed the &quot;Mark as read&quot; action<br>  if (type === EventType.ACTION_PRESS &amp;&amp; pressAction.id === &#39;mark-as-read&#39;) {<br>    // Update external API<br>    await fetch(`https://my-api.com/chat/${notification.data.chatId}/read`, {<br>      method: &#39;POST&#39;,<br>    });<br><br>    // Remove the notification<br>    await notifee.cancelNotification(notification.id);<br>  }<br>});<br><br>// Register main application<br>AppRegistry.registerComponent(&#39;app&#39;, () =&gt; App);</pre><p>Now, u can press the notification on foreground or background, it will open ur app.</p><h3>Final Thoughts:</h3><p>To be continued</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b7ceea26771" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s Wrong with Following Along?]]></title>
            <link>https://medium.com/@sg.sonerguclu/whats-wrong-with-following-along-d3b81cf7b8cc?source=rss-965c88727497------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3b81cf7b8cc</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Soner Güçlü]]></dc:creator>
            <pubDate>Sat, 19 Nov 2022 21:00:58 GMT</pubDate>
            <atom:updated>2023-11-05T12:52:18.382Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me make it clear what I mean by &quot;following along&quot; Yes, true! I mean that learning something by following along, copying the things exactly what the teacher does. These days, we mostly use it in video tutorials. You want to be a Front-End developer. You are a beginner. You opened an HTML tutorial and started copying the teacher exactly what he does. He/she opens a project, you open a project . Types something and you type something.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZM0HFSBA6e5XR2yWwsFadQ.jpeg" /><figcaption>It seems like an easy way to learn but...</figcaption></figure><p>Since we are clear about what I meant. Then we can ask the question “what is wrong with you following along?”</p><p>Nothing so bad is wrong but there’s something we should be aware of! Something negative in following along is that we actually don’t learn, understand the subject! You may think you learned it but actually no! True! By following along you can achieve a real good, long projects. You can see the result it is working but do you really think you learned it and you can make it again all alone by yourself? No! You just copied without understanding the most things but when you try to do it alone by yourself then you will realize that actually you couldn’t learn!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Ybe2QMs3QZ-J28NglQ4iA.jpeg" /><figcaption>Be in the field, try it yourself!</figcaption></figure><p><strong>In summary;</strong> I do not mean that following along is bad, never use that method or something! On the contrary, if the topic is new to you, I suggest you to find a good tutorial and follow along! It is the less painful way to start learning some things. One of the best and optimum way but just I am trying to say that be aware! Just by following along you’re not learning, you are missing many details! &quot;<em>Keep your hands dirty.</em>&quot; I had heard this in a tutorial so keep your hands dirty and never just watch!</p><p><em>Sunday, November 13</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3b81cf7b8cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>