-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added ability to add currently playing songs or podcast via spotify in the befake controller - you can also search for songs and add them as "currently playing" - add BeaTokenManager that holds and manages access tokens throughout the lifecycle of BeReal - restructured project - overall improvements to handling self (thanks to @NightwindDev) and removed unneccessary code - moved the download button adding into another function - added the ability to download own bereal images from memories - fix sharing bereals from memories not being saved correctly (images were saved as white images) - fixed download button duplicating when moving the 2nd photo of a BeReal - improvements in handling the download button visibility - move the locate button to the right side of the view in BeaLocationViewController - fix the apple maps logo and legal not being visible in BeaLocationViewController - add a context menu and a donation option - screenshot detection bypass doesnt work anymore
- Loading branch information
1 parent
d90dd7d
commit 2e7ffc8
Showing
30 changed files
with
1,225 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
TARGET := iphone:clang:latest:14.0 | ||
INSTALL_TARGET_PROCESSES = BeReal | ||
ARCHS = arm64 arm64e | ||
ARCHS = arm64 | ||
FINALPACKAGE = 1 | ||
PACKAGE_VERSION = 1.2.2 | ||
PACKAGE_VERSION = 1.3 | ||
|
||
THEOS_PACKAGE_SCHEME = rootless | ||
|
||
export SYSROOT = $(THEOS)/sdks/iPhoneOS15.5.sdk | ||
|
||
include $(THEOS)/makefiles/common.mk | ||
|
||
TWEAK_NAME = Bea | ||
|
||
Bea_FILES = Tweak/Tweak.x | ||
Bea_CFLAGS = -fobjc-arc | ||
Bea_FRAMEWORKS = UIKit MapKit | ||
$(TWEAK_NAME)_FILES = Tweak/Tweak.x | ||
$(TWEAK_NAME)_CFLAGS = -fobjc-arc | ||
$(TWEAK_NAME)_FRAMEWORKS = UIKit MapKit | ||
|
||
ifeq ($(JAILED), 1) | ||
Bea_CFLAGS += -D JAILED=1 | ||
ifeq ($(LEGACY_SUPPORT), 1) | ||
$(TWEAK_NAME)_CFLAGS += -D LEGACY_SUPPORT=1 | ||
endif | ||
|
||
ifeq ($(LEGACY_SUPPORT), 1) | ||
Bea_CFLAGS += -D LEGACY_SUPPORT=1 | ||
ifeq ($(JAILED), 1) | ||
Bea_CFLAGS += -D JAILED=1 | ||
endif | ||
|
||
include $(THEOS_MAKE_PATH)/tweak.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,29 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
#import "../Utilities/BeaUtilities.m" | ||
#import "../Utilities/UploadViewController/BeaUploadViewController.m" | ||
#import <rootless.h> | ||
#import "../Utilities/Managers/TokenManager/BeaTokenManager.m" | ||
#import "../Utilities/ViewControllers/UploadViewController/BeaUploadViewController.m" | ||
|
||
BOOL isUnblurred = NO; | ||
NSString *authorizationKey = nil; | ||
Class photoView; | ||
|
||
@interface CAFilter : NSObject | ||
@property (copy) NSString * name; | ||
@end | ||
|
||
@interface DoublePhotoView : UIView | ||
@property (nonatomic, strong) BeaButton *downloadButton; | ||
@end | ||
|
||
@interface HomeViewController : UIViewController | ||
@property (nonatomic, retain) UIImageView *ibNavBarLogoImageView; | ||
- (void)openDebugMenu; | ||
@end | ||
|
||
@interface SettingsViewController : UIViewController | ||
@property (nonatomic, retain) UITableView *tableView; | ||
@end | ||
|
||
@interface UIHostingView : UIView | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@interface BeaTokenManager : NSObject | ||
+ (instancetype)sharedInstance; | ||
@property (nonatomic, strong) NSString *BRAccessToken; | ||
@property (nonatomic, strong) NSString *spotifyAccessToken; | ||
@property (nonatomic, strong) NSString *spotifyRefreshToken; | ||
@property (nonatomic, strong) NSNumber *expiryValue; | ||
- (void)writeToKeychainWithDictionary:(NSDictionary *)response; | ||
@end |
Oops, something went wrong.