This file contains hidden or 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
// Learn more about F# at http://fsharp.org | |
open System | |
open Google.Apis.Auth.OAuth2 | |
open FirebaseAdmin | |
open FirebaseAdmin.Auth | |
open FirebaseAdmin.Messaging | |
open System.Collections.Generic | |
open System.Collections.ObjectModel |
This file contains hidden or 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
type NotificationHandler(context:Context) = | |
let createNotificationChannel () = | |
let CHANNEL_ID = "my_channel_01";// The id of the channel. | |
let name = "FcmChannel" | |
let importance = Android.App.NotificationImportance.High | |
let mChannel = | |
new NotificationChannel(CHANNEL_ID, name, importance, | |
LockscreenVisibility = NotificationVisibility.Public) | |
mChannel.EnableVibration true |
This file contains hidden or 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
// Copyright 2018 Fabulous contributors. See LICENSE.md for license. | |
namespace TenFabulous | |
open System.Diagnostics | |
open Fabulous.Core | |
open Fabulous.DynamicViews | |
open Xamarin.Forms | |
module App = | |
type Model = { |
OlderNewer