Sha256: cb872a12f0ded9c84c4c11c2e605c003fc6ea9cf4f222613a4cef7cbb3633472

Contents?: true

Size: 570 Bytes

Versions: 12

Compression:

Stored size: 570 Bytes

Contents

DeviseOnesignal.configure do |config|

    # Your OneSignal app id. Create one here: https://onesignal.com
    config.app_id = ''


    # Automatically try to subscribe the user when loading a page. Defaults to `false`.
    # config.auto_register = false

    # Automatically dismiss the notification after ~20 seconds in Chrome. Defaults to `false`.
    # config.persist_notification = false

    # Show a modal instead of a native browser window when subscribing a user to OneSignal. Defaults to `false`.
    # config.subscribe_with_modal = false

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
devise-onesignal-4.0.1 lib/generators/templates/initializer.rb
devise-onesignal-4.0.0 lib/generators/templates/initializer.rb
devise-onesignal-3.2.0 lib/generators/templates/initializer.rb
devise-onesignal-3.1.5 lib/generators/templates/initializer.rb
devise-onesignal-3.1.4 lib/generators/templates/initializer.rb
devise-onesignal-3.1.3 lib/generators/templates/initializer.rb
devise-onesignal-3.1.2 lib/generators/templates/initializer.rb
devise-onesignal-3.1.1 lib/generators/templates/initializer.rb
devise-onesignal-3.1.0 lib/generators/templates/initializer.rb
devise-onesignal-3.0.2 lib/generators/templates/initializer.rb
devise-onesignal-3.0.1 lib/generators/templates/initializer.rb
devise-onesignal-3.0.0 lib/generators/templates/initializer.rb