Skip to content
UI based iOS tweak that opens red envelopes in WeChat (微信)
Logos Objective-C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources
Source
.gitignore
LICENSE
Makefile
README.md
WeChatEnvelope.plist
control

README.md

WeChat Envelope

A simple iOS tweak that opens red envelopes in WeChat. It's a very hacky UI based solution, which requires the chat to be visible for the envelopes to be opened. Made for research purposes, and for fun, with the help of Cycript.

Auto-open

How it works

When the chat view becomes visible, the tweak scans the visible cells for a red envelope cell. If the red envelope hasn't previously been opened, the tweak will try to open it.

Opening speed

In order to make it less suspicious, there's a delay added to the opening of envelopes. It's still quicker to manually open them (if on a good internet connection), but the tweak will usually be one of the first five to open an envelope in a group chat.

Error handling

The tweak currently handles two corner cases:

  1. A red envlope has already been opened by other people in a group
  2. Envelope opening fails, and an alert gets shown (no internet connection for instance)

Settings

Added a cell for configuration under "Settings" in the "Me" tab.

Installation

Make sure you have Theos installed (guide found here), with the $THEOS and $THEOS_DEVICE_IP variables configured.

After that just run make package install in the console from the project directory.

Credits

Many thanks to Wencharm for providing me with a temporary test account, and to Theo for providing me with two incredibly crisp and beautiful icons!

You can’t perform that action at this time.