arh

ARHomeScreenShortcuts

Installs home screen shortcuts to features of your app.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

81

Maintenance

Last Commit

6yrs ago

Contributors

1

Package

Dependencies

1

License

MIT

Categories

Readme

ARHomeScreenShortcuts

![Gitter](https://badges.gitter.im/Join Chat.svg) Twitter GitHub Issues CI Status Version License Platform Dependency Status Analytics

Overview

ARHomeScreenShortcuts installs home screen shortcuts to features of your app like OneTap or Facebook Groups.

ARHomeScreenShortcuts Screenshot

Usage

Installation

ARHomeScreenShortcuts is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ARHomeScreenShortcuts"

You need define an URL Scheme for your app.

To run the example project, clone the repo, and run pod install from the Example directory first.

Customization

To customize your shortcut you can use the following properties:

    ARHomeScreenShortcuts *shortcut = [[ARHomeScreenShortcuts alloc] init];
        
    shortcut.title = @"Shortcut Title";
        
    shortcut.icon = [UIImage imageNamed:@"ShortcutIcon"];
        
    shortcut.urlScheme = @"myapp";
        
    shortcut.action = @"open"
        
    shortcut.parameters = @{@"id" : @"my_identifier"};
        
    [shortcut.replacementDictionary setObject:@"<div>INSTALL ME</div>" forKey:@"<REPLACEMENT_EXAMPLE>"];
        
    [shortcut installShortcut];

To customize the installation HTML, copy ARHomeScreenShortcuts.html file to your proyect.

Etc.

  • Contributions are very welcome.
  • Attribution is appreciated (let's spread the word!), but not mandatory.

Use it? Love/hate it?

Tweet the author @alexruperez, and check out alexruperez's blog: http://alexruperez.com

License

ARHomeScreenShortcuts is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100