dgh0st / hswidgets Goto Github PK
View Code? Open in Web Editor NEWAdd options to display widgets right on your homescreen.
License: MIT License
Add options to display widgets right on your homescreen.
License: MIT License
Can you add IOS 14 support? I know widgets are a thing, but I liked that it copied the lock screen clock so it looks similar.
Everything works rather nicely on iOS 12.1.2 XS Max (compiled for arm64e), but some issues:
As mentioned earlier, the Clock widget doesn't seem to display anything when on the homescreen.
Widgets that require interaction to start working (Weather, Google calenders etc.) can't initiate
Activity module doesn't seem to load.
A really cool concept though! Really looking forward to seeing more updates :D
If a widget have the expand option, it’s not available and the widget is not showing properly.
Happens when I open the control center (Prysm). Just an empty space that I can't interact with.
This tweak crashes and goes into safe mode after installing. I tried older versions and the only ones that work are 0.0.1 and 0.0.1-1. I attached a list of my tweaks if that helps at all.
tweaks.txt
how do i add widgets because all i’m getting is the placeholder one
The widgets seem to be displayed on the next page (inverted position?) for RTL languages.
Reproduction Steps:
Expected Results:
Widgets should not recognize taps when page is being swiped
Reproduction steps:
Expected Results:
Widgets shouldn't jump positions while being swiped. It should maintain position on the page.
Last month, everything worked fine until this happened. When I open up Settings app, it respring at launch (sometimes it does on other apps). The next day, when I unlock the phone and after a few secs, it respring. I disable the HSWidgets tweak and everything went normal. When I enable the tweak back, it resprings again like usual. The only way to exit from this problem was enter safe mode and disable the tweak. I'll leave the tweak installed until fix was obtained. Thanks:)
Reproduction steps:
Expected Results:
Widgets should persist after respring
Potential Cause:
ZoomAnimation.xm is not being called. However -[SBRootFolderController viewDidLoad]
should be setting up the widgets again but it looks like this isn't being called either on iOS 13.
Hello dev, First of all, thanks for the great tweak!
While I was trying out this I found out that it is not compatible with Central tweak (it centers the last row items). Central Repo Link
Here are some screenshots Link 1 Link 2
It would be amazing if these two can work together :)
As title says. I tried disabling all tweaks except hswidgets but still crashes. Also tried version 0.3 (since changelog says fixed today widgets crash on ios 10) but it crashes too. Could you help me please?
Hi and thx alot for your work,
I write because I'm trying to replicate the practice of your widget creation doc and alway get this error and can not compile.
This is the log of make:
==> Notice: Build may be slow as Theos isn’t using all available CPU cores on this computer. Consider upgrading GNU Make: https://github.com/theos/theos/wiki/Parallel-Building
Making all for bundle HSCustomWidget1…
==> Copying resource directories into the bundle wrapper…
==> Compiling HSCustomWidget1ViewController.mm (armv7)…
In file included from HSCustomWidget1ViewController.mm:1:
In file included from ./HSCustomWidget1ViewController.h:1:
In file included from /Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgetViewController.h:1:
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:3:2: error: unknown type name 'NSUInteger'
NSUInteger row;
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:4:2: error: unknown type name 'NSUInteger'
NSUInteger col;
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:9:53: error: unknown type name 'NSUInteger'
static inline HSWidgetPosition HSWidgetPositionMake(NSUInteger row, NSUInteger col) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:9:69: error: unknown type name 'NSUInteger'
static inline HSWidgetPosition HSWidgetPositionMake(NSUInteger row, NSUInteger col) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:16:15: error: unknown type name 'BOOL'
static inline BOOL HSWidgetPositionEqualsPosition(HSWidgetPosition first, HSWidgetPosition second) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:20:79: error: unknown type name 'NSInteger'
static inline HSWidgetPosition HSWidgetPositionAdd(HSWidgetPosition position, NSInteger rows, NSInteger cols) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:20:95: error: unknown type name 'NSInteger'
static inline HSWidgetPosition HSWidgetPositionAdd(HSWidgetPosition position, NSInteger rows, NSInteger cols) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:27:15: error: unknown type name 'BOOL'
static inline BOOL HSWidgetPositionIsValid(HSWidgetPosition position, NSUInteger maxRows, NSUInteger maxCols) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:27:71: error: unknown type name 'NSUInteger'
static inline BOOL HSWidgetPositionIsValid(HSWidgetPosition position, NSUInteger maxRows, NSUInteger maxCols) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:27:91: error: unknown type name 'NSUInteger'
static inline BOOL HSWidgetPositionIsValid(HSWidgetPosition position, NSUInteger maxRows, NSUInteger maxCols) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:32:20: error: unknown type name 'NSUInteger'
typedef NS_OPTIONS(NSUInteger, HSWidgetDirection) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:32:32: error: unknown type name 'HSWidgetDirection'
typedef NS_OPTIONS(NSUInteger, HSWidgetDirection) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:32:51: error: function definition declared 'typedef'
typedef NS_OPTIONS(NSUInteger, HSWidgetDirection) {
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:32:9: error: C++ requires a type specifier for all declarations
typedef NS_OPTIONS(NSUInteger, HSWidgetDirection) {
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:33:2: error: use of undeclared identifier 'HSWidgetDirectionNone'
HSWidgetDirectionNone = 0,
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:34:2: error: use of undeclared identifier 'HSWidgetDirectionLeft'
HSWidgetDirectionLeft = 1 << 0,
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:35:2: error: use of undeclared identifier 'HSWidgetDirectionUp'
HSWidgetDirectionUp = 1 << 1,
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:36:2: error: use of undeclared identifier 'HSWidgetDirectionRight'
HSWidgetDirectionRight = 1 << 2,
^
/Users/drf/theos/lib/HSWidgets.framework/Headers/HSWidgets-structs.h:37:2: error: use of undeclared identifier 'HSWidgetDirectionDown'
HSWidgetDirectionDown = 1 << 3
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [/Users/drf/tweaks/hscustomwidget1/.theos/obj/debug/armv7/HSCustomWidget1ViewController.mm.a912d49f.o] Error 1
make[2]: *** [/Users/drf/tweaks/hscustomwidget1/.theos/obj/debug/armv7/HSCustomWidget1.bundle/HSCustomWidget1] Error 2
make[1]: *** [internal-bundle-all_] Error 2
make: *** [HSCustomWidget1.all.bundle.variables] Error 2
I'm totally new on this programming so maybe is a easy thing to do but I can not see.
Thx in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.