<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ebube Life</title>
    <description>The latest articles on DEV Community by Ebube Life (@ebubelife).</description>
    <link>https://dev.to/ebubelife</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1024887%2Fe71dfd90-a01f-4472-abca-eeefe62012b1.jpeg</url>
      <title>DEV Community: Ebube Life</title>
      <link>https://dev.to/ebubelife</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ebubelife"/>
    <language>en</language>
    <item>
      <title>Wirelessly Debug Your Code On Pysical Android Device In Flutter</title>
      <dc:creator>Ebube Life</dc:creator>
      <pubDate>Sun, 12 Feb 2023 15:35:20 +0000</pubDate>
      <link>https://dev.to/ebubelife/wirelessly-debug-your-code-on-pysical-android-device-in-flutter-4jp1</link>
      <guid>https://dev.to/ebubelife/wirelessly-debug-your-code-on-pysical-android-device-in-flutter-4jp1</guid>
      <description>&lt;p&gt;Debugging your code on a physical device, remains the best way to really feel your app and ensure that you understand the way the app will work on the devices of your users.&lt;/p&gt;

&lt;p&gt;But it can also be risky having your phone plugged constantly to your computer's USB port. Some computer USB ports do not really control current flow properly and power surges might damage your phone's charging port. Plus, what if your phone cord is short? or loose and doesn't allow much freedom?&lt;/p&gt;

&lt;p&gt;So, you can use wireless debugging and here is how to wirelessly build, run and debug your apps on your physical device. First of all install ADB  (Android Debug Bridge). ADB contains a set of tools to let you debug your app on your device. &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;INSTALL ADB ON MAC&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To install ADB on mac, install with Home brew. &lt;/p&gt;

&lt;p&gt;To install Homebrew, open a terminal and run:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After, run the following to install ADB:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;brew install android-platform-tools --cask&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;These will take a while. So be patient and have a good network connection. &lt;/p&gt;

&lt;p&gt;INSTALL ADB ON WINDOWS &lt;/p&gt;

&lt;p&gt;Use this &lt;a href="https://dl.google.com/android/repository/platform-tools-latest-windows.zip" rel="noopener noreferrer"&gt;link&lt;/a&gt; to download Android SDK platform tools for windows. &lt;br&gt;
Extract the zip file into a folder that is easily accessible. Something like C:\platform-tools&lt;/p&gt;

&lt;p&gt;Now open that folder, and then Shift + right click to open command prompt right in that folder. Or just open command prompt and cd into the platform-tools folder. &lt;/p&gt;

&lt;p&gt;After setting up ADB on your computer. Connect your phone to it by USB and also ensure your phone and computer are on the same network (LAN). Or you could just connect your computer to your phone's network or vice versa or connect both to same router.&lt;/p&gt;

&lt;p&gt;Go to your phone's settings, go to about phone and click to view details of your phone. You should find the IP address there. Note it. &lt;/p&gt;

&lt;p&gt;Come back to the terminal. If you are on windows, ensure you are in the ADB directory. If you installed with homebrew on mac , just run the script to start ADB daemon:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;adb devices
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You should see a list of devices and yours should be there.&lt;/p&gt;

&lt;p&gt;Now run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;adb tcpip 5555
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This restarts the the TCP&lt;/p&gt;

&lt;p&gt;Go ahead and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;adb connect &amp;lt;your android phone IP address here&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is it! If its successful, you will see a success message on the terminal and you can go ahead to disconnect your phone. You will notice that the device will still be listed on the flutter's list of valid devices for debugging.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For Wireless Debugging With iPhone&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ensure you're running Mac OS 10.12.0 and above&lt;br&gt;
Ensure you are running iOS 11 and above&lt;br&gt;
Ensure you are running Xcode 9&lt;br&gt;
Connect your Mac and iphone to same network&lt;/p&gt;

&lt;p&gt;Open Xcode and go to window tab. On the drop-down menu, select &lt;em&gt;devices and emulators&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Select devices tab and select your devices from connected section.&lt;/p&gt;

&lt;p&gt;Choose &lt;em&gt;connect via network&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You are good to go!&lt;/p&gt;

&lt;p&gt;Enjoy!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>I Switched To Flutter From Native Android Development- My Story</title>
      <dc:creator>Ebube Life</dc:creator>
      <pubDate>Sat, 11 Feb 2023 15:00:58 +0000</pubDate>
      <link>https://dev.to/ebubelife/i-switched-to-flutter-from-native-android-development-my-story-mm7</link>
      <guid>https://dev.to/ebubelife/i-switched-to-flutter-from-native-android-development-my-story-mm7</guid>
      <description>&lt;p&gt;After a few years a web developer, I delved fully into mobile development(specifically native android development) in 2016. For more than three years, I worked on five projects that opened me up into the world of Java and android. Mid-way, I delved into core Java coding too. It was fun and cool, I landed a job that payed me well. I loved java, I loved the structure, the rules, the way it forced me to observe standard coding patterns. Well until… my friend came to me with a job from a client.&lt;/p&gt;

&lt;p&gt;The client wanted an iOS and Android versions of a mini-banking app. Prior to this moment, I had experience building just for android. I hadn’t written enough of Swift/Objective-C to take on such a project. Well, once, I converted java code from an android app into platform specific, code for iOS (in Objective-C) using Multi-Engine OS. The experience was fairly immersing, but not too deep.&lt;/p&gt;

&lt;p&gt;So I took the job, and immediately I just knew, my only option was flutter. I’m not a big fan of Javascript and excessive usage of command terminals, so I didn’t go for React Native. I had 15 days to deliver the job, meaning, I had 15 days to learn dart, flutter framework, plugins, resources, layouts, structures, build the app, debug and test on both platforms and deploy. I was in for it, but I was excited. I delved in. Long story cut short — After a lot of hours spent perusing Stackoverflow, and Github pages, I delivered the apps within 18 days. Damn! But the experience was amazing. Everything was clicking, responsive. I didn’t have to struggle with separating layouts from classes. I didn’t have to struggle with creating over three classes just to implement something similar to a recyclerview. By the time I was done, I was hooked on flutter and I stuck with it.&lt;/p&gt;

&lt;p&gt;Till date, I haven’t been writing much of Java, I’ve rebuilt my company’s mobile apps in flutter, I’ve rebuilt selected features of past projects in flutter, and I’m currently working on a bunch flutter apps. I’ve come across several tools and I’ve met a lot of amazing people within the flutter community.&lt;/p&gt;

&lt;p&gt;Flutter is a powerful framework, that absolves you away from the roughest aspects of mobile development . Of course cross-platform development isn’t without its own issues and no matter how good a programmer you are, the app might not give you the 100% performance compared to native apps. All the same, flutter offers you speed, high level efficiency, out of the box animations, responsive material design, flutter apps are already optimized by default and there is also a lossless compression feature that removes all unused classes and dead code within your flutter app. Its called “tree shaking”.&lt;/p&gt;

&lt;p&gt;Flutter is still new, and the community is grown and active, you’re guaranteed support and continuity. No worries, your project is safe with flutter. Flutter developers, who don’t have access to a mac, can build once on windows, and build iOS versions of the app using a free platform like Codemagic.io .&lt;/p&gt;

&lt;p&gt;As long as flutter remains effective, I think I’ll stay with it!&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>My Journey Into Tech</title>
      <dc:creator>Ebube Life</dc:creator>
      <pubDate>Sat, 11 Feb 2023 14:55:02 +0000</pubDate>
      <link>https://dev.to/ebubelife/my-journey-into-tech-2f2j</link>
      <guid>https://dev.to/ebubelife/my-journey-into-tech-2f2j</guid>
      <description>&lt;p&gt;I can't really remember how I started my journey into tech. It has been a while. But I know what brought me here - passion . That passion will keep me here till I age and can't move anymore.&lt;/p&gt;

&lt;p&gt;I love coding... scratch that. I'm crazy about coding. I love building software and I have a passion for building software that work. &lt;/p&gt;

&lt;p&gt;I'm a full stack dev, a mobile dev and I believe joining this community will make me a better developer. &lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
