Giter Site home page Giter Site logo

dgh0st / hswidgets Goto Github PK

View Code? Open in Web Editor NEW
36.0 6.0 12.0 3.93 MB

Add options to display widgets right on your homescreen.

License: MIT License

Objective-C 21.14% Objective-C++ 28.63% Makefile 1.00% Logos 48.92% Shell 0.12% C 0.19%
ios theos logos cydia-tweak jailbreak mobilesubstrate objective-c

hswidgets's People

Contributors

dgh0st avatar muirey03 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hswidgets's Issues

IOS 14 support?

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.

[Bug] Widgets not loading correctly

Everything works rather nicely on iOS 12.1.2 XS Max (compiled for arm64e), but some issues:

  1. As mentioned earlier, the Clock widget doesn't seem to display anything when on the homescreen.

  2. Widgets that require interaction to start working (Weather, Google calenders etc.) can't initiate

  3. Activity module doesn't seem to load.

A really cool concept though! Really looking forward to seeing more updates :D

Springboard Crashing

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

Widgets are recognizing taps when swiping between homescreen pages

Reproduction Steps:

  1. Add a widget that can recognize taps (Twitch, Siri app suggestions, Phone, etc)
  2. Begin tap gesture on the widget. For instance, begin tapping on the icon for Siri app suggestion so that it shows the icon as dimmed.
  3. Swipe to the next page
  4. When the swipe ends, the widget recognizes the tap

Expected Results:
Widgets should not recognize taps when page is being swiped

[Feature Request] Option to hide name of app in today view widget

I didn't take this picture, but the idea is to hide what's circled in it on the homescreen. The widgets have been added to it through HSWidgets. Could this be hidden on just the homescreen by an update to this tweak? If this is off-topic, I apologise.

Image

image

Widget position issues when today page is disabled on iOS 13.

Reproduction steps:

  1. Install a tweak that disables today page (Lynx or other tweaks)
  2. Add widgets to page
  3. Try swiping from left to right
  4. Last widget on the page jumps to invalid grid position.

Expected Results:
Widgets shouldn't jump positions while being swiped. It should maintain position on the page.

Removing homeplus pro while HSWidgets is installed == safemode

  1. Happy bday D_Gh0st!
  2. So, after uninstalling homeplus pro I was sent to safe mode due to HSWidgets.
    even after removing and reinstalling HSWidgets I am still sent into safe mode.
    It appears to be so that it cannot adapt to the difference of the homescreen size.

Weird respring bug

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:)

Widgets are being lost after respring when zoom/fly in animations are disabled on iOS 13

Reproduction steps:

  1. Enable reduced motion or install a tweak that disables zoom/fly in animation (Lynx, Springtomize, etc).
  2. Add widgets on page
  3. Respring device
  4. Widgets added to the page are lost

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.

Not compatible with Central Tweak

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 :)

Today widgets crashes SpringBoard (iOS 10)

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?

HSWidgets-structs.h:3:2: error: unknown type name 'NSUInteger' NSUInteger row;

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.