Posts

Showing posts from November, 2024

Flow Coordinator in Swift for iOS App Development

Hello guys!,      Today, we’re going to dive into an exciting topic:                 Flow Coordinator in Swift and how it can simplify navigation in your iOS app development. If you’ve ever felt that your view controllers are overloaded with navigation logic, this is the perfect solution for you. Let’s break it down step by step and see how this pattern can make your app more organized, testable, and scalable. Ready? Let’s get started! 🚀

SonarQube with Bitbucket Pipeline for iOS App in Mac OS

 Integrating SonarQube or SonarCloud with an iOS project in a Bitbucket repository using pipelines involves several steps. Here’s a detailed guide: 1. Set up SonarQube/SonarCloud SonarQube : Install and configure a SonarQube server (if not using a hosted solution). Create a new project in SonarQube. Generate a project key and token for authentication. SonarCloud : Log in to SonarCloud using your Bitbucket account. Create a new project, selecting the Bitbucket repository. Generate a project key and token. 2. Configure the iOS Project Install Sonar Scanner : Use Homebrew to install the scanner: bash Copy code brew install sonar-scanner Verify the installation: bash Copy code sonar-scanner --version Generate SonarQube Configuration File ( sonar-project.properties ) : Place this file in the root directory of your iOS project. Example configuration: properties Copy code sonar.projectKey=your_project_key sonar.organization=your_organization_key (if using SonarCloud) sonar.host.url=htt...

Configuring Burp Suite with Genymotion Emulator or Android Emulator for HTTPS Interception

In this guide, we'll walk through the steps required to set up Burp Suite Community Edition for intercepting HTTPS traffic from a Genymotion emulator or Android emulator. This setup is essential for analyzing and testing mobile applications for security vulnerabilities.  Here’s the corrected and well-structured blog content based on your input: --- ### **Prerequisite Software:** Before we begin, install the following software: 1. **Burp Suite Community Edition**      Download it from the official site:      [Burp Suite Community Edition](https://portswigger.net/burp/communitydownload) 2. **Genymotion or Android Emulator**      You can choose either of the emulators based on your preference. 3. **OpenSSL**      Download OpenSSL binaries:      [OpenSSL Binaries](https://wiki.openssl.org/index.php/Binaries) --- ### **Step-by-Step Guide:** #### **Step 1: Download Burp Suite Certificate**...

Setting Up Jenkins for Flutter App on macOS

Image
Introduction: In this blog post, we will walk through the process of setting up Jenkins on macOS to automate the building and testing of your Flutter applications. Jenkins is a popular open-source automation tool that helps to integrate and automate various stages of your Flutter app's development lifecycle. Way 1: Pipeline Flow For setting up Jenkins with a pipeline flow, you can refer to the following Stack Overflow discussion to resolve issues like "Flutter not found":  Flutter Jenkins Flutter not found issue https://stackoverflow.com/questions/75422046/flutter-jenkins-flutter-not-found-issue Step 1: Install Jenkins on macOS First, we need to install Homebrew if you don't have it already. Open your terminal and run the following command: /bin/bash -c " $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) " After Homebrew is installed, run the following command to install Jenkins: brew install jenkins-lts Include Screenshot: I...

How to maintain Multiple Java sdk in Mac OS

Image
Hi Guys, In this blog, we will learn how to manage multiple Java SDKs effectively on macOS. 1) List all the available Java SDKs on the operating system. ~ % /usr/libexec/java_home -v /usr/libexec/java_home -verbose 2) Set or change Java ~ % export JAVA_HOME=$(/usr/libexec/java_home -v 22.0.2) 3) View the updated java version ~ % java -version openjdk version "22.0.2" 2024-07-16 OpenJDK Runtime Environment (build 22.0.2+9-70) OpenJDK 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing) 3) View the updated java version ~ % which java ~ % where java