Posts

Showing posts from April, 2025

πŸ”’ How to Obfuscate an iOS Swift Project Using SwiftShield

Introduction If you're developing an iOS app, you might want to protect your Swift code from reverse engineering. SwiftShield is a tool that helps obfuscate your code by renaming symbols like class names, functions, and properties. In this guide, we'll walk through how to install SwiftShield, use it correctly, and troubleshoot common issues . 1. Installing SwiftShield First, install SwiftShield using Homebrew : brew install rockbruno/tap/swiftshield https://github.com/rockbruno/swiftshield To check if the installation is successful, run: swiftshield --help If you see the list of available commands, SwiftShield is installed correctly. 2. Checking SwiftShield Version To verify the installed version, run: swiftshield version If this command works, you’re ready to move on. 3. Running SwiftShield for Obfuscation Now, navigate to your Xcode project directory in the terminal and run: swiftshield obfuscate --project-file DemoApp.xcodeproj --scheme DemoApp πŸ’‘ Repl...

πŸ“± Google Play's App Integrity API implementing for offline Android mobile app

If your Android app is offline and doesn't have a backend, you can still use Google Play Integrity API to check whether the app is installed from the Play Store and running on a genuine device. However, since there's no server to verify the integrity token, you will only be able to check basic integrity locally. βœ… Steps to Use Play Integrity API Without a Backend (Offline Mode) 1️⃣ Enable Play Integrity API in Google Play Console Go to Google Play Console . Select your app β†’ Navigate to Setup β†’ App Integrity . Enable the Play Integrity API . Save the License Key (you won’t need it for offline checks, but it's useful for future reference). 2️⃣ Add Dependencies In your app-level build.gradle , add the Play Integrity dependency: dependencies { implementation 'com.google.android.play:integrity:1.3.0' } Sync the project after adding the dependency. 3️⃣ Implement Play Integrity API Locally in Android App Since you don’t have a backend, you can directly verify the...

πŸ“Œ Android Documentation Plugins: The Best Way to Document Your Code

Image
πŸ“– Introduction Writing good documentation is essential for maintaining and scaling Android projects. Whether you are working solo or in a team, having well-structured documentation helps developers understand the project, onboard new team members, and avoid confusion. In this blog post, we will explore Dokka , the officially recommended documentation tool for Kotlin-based Android apps . We will also briefly discuss other options and compare their features. πŸ”₯ What is Dokka? Dokka is an official documentation tool developed by JetBrains for generating API documentation from Kotlin and Java projects. It works similarly to Javadoc but is optimized for Kotlin. βœ… Key Features of Dokka: βœ”οΈ Generates HTML, Markdown, and Javadoc-style documentation βœ”οΈ Supports KDoc (Kotlin's built-in documentation format) βœ”οΈ Integrates with Gradle and Version Catalogs βœ”οΈ Works with both Kotlin and Java code in Android projects βœ”οΈ Supports publishing documentation to GitHub Pages, ReadTheDocs, etc...

πŸ“œ Angular documentation tool of CompoDoc

Image
The @compodoc/compodoc dependency is a documentation tool for Angular applications. It generates detailed static documentation for your Angular project based on its TypeScript code, including: πŸ“Œ Key Features of @compodoc/compodoc Generates Documentation πŸ“– Extracts comments from your TypeScript files and creates structured documentation. Supports JSDoc-style comments ( /** ... */ ). Provides a Web-Based UI 🎨 The generated documentation includes an interactive UI with search functionality. Supports Angular-Specific Concepts πŸ› οΈ Components, Services, Modules, Directives, Pipes, Interfaces, etc. Includes Graphs & Diagrams πŸ“Š Displays project structure using dependency graphs. Supports Markdown Files πŸ“ You can add README.md , changelog.md , and other Markdown files to the docs. πŸ“Œ How to Use @compodoc/compodoc ? βœ… Install It npm install --save-dev @compodoc/compodoc βœ… Generate Documentation Run the following command to gener...