GitHub - yagiz/Bagel: a little native network debugging tool for iOS
source link: https://github.com/yagiz/Bagel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Bagel
Bagel is a little native iOS network debugger. It's not a proxy debugger so you don't have to mess around with certificates, proxy settings etc. As long as your iOS devices and your Mac are in the same network, you can view the network traffic of your apps seperated by the devices.
Preview
Installation
Install Mac App
- Clone the repo.
- Install pods.
- Build and archive the project.
Install iOS Client
CocoaPods
Currently best way to install Bagel is to use Cocoapods.
pod 'Bagel'
Usage
Most basic usage is to start Bagel iOS before any network operation.
//import Bagel Bagel.start()
Configuring Bagel
By default, Bagel gets your project name and device information. Desktop client uses these informations to separate projects and devices. You can configure these if you wish:
let bagelConfig = BagelConfiguration() bagelConfig.project.projectName = "Custom Project Name" bagelConfig.device.deviceName = "Custom Device Name" bagelConfig.device.deviceDescription = "Custom Device Description" Bagel.start(configuration: bagelConfig)
Bagel framework communicates with the desktop client by using Bounjour protocol. You can also configure these Netservice parameters. Default values are:
let bagelConfig = BagelConfiguration() bagelConfig.netservicePort = 43434 bagelConfig.netserviceDomain = "_Bagel._tcp" bagelConfig.netserviceType = "" bagelConfig.netserviceName = "" Bagel.start(configuration: bagelConfig)
If you change Netservice parameters in your app, you should also change them on desktop client.
License
Apache
Recommend
-
29
In this article, we’ll take a look at some of the issues you might encounter while developing iOS apps with React Native. Specifically, we’ll take a look at the following issues: Software dependency problems...
-
2
How dating apps sabotage your chances at finding love through design?The tale of a paradoxical product design
-
7
React Native PassKit Wallet is a handy library for integrating your app with Apple Wallet. The library is simple to use. You send PassKit data to a function that runs validat...
-
3
← All Posts The Bagel Language 🥯 September 16, 2021 ...
-
2
I've done quite a few conference talks since I became a developer advocate for Lightrun. One of my...
-
0
← All Posts Bagel Bites: Type Refinement February 13, 2022...
-
0
-
3
Todo Little practice of React-Native with a todo list Mar 23, 2022 1 min read Todo-List-React-Native Little practice of React-Native wi...
-
7
The Future of Java as Seen by Mark Little at Devoxx UK 22: Native Java, Adoptium and Faster Pace May 16, 2022...
-
3
bagelWeb3-Native communication...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK