Firebase cloud messaging from .net using admin sdk. Sample code to send notification on topic.
-
Add configuration file in the path
<add key="ConfigFilePath" value="c:/FirebaseConfig.json" /> -
Set envoirnment variable for google services programatically
<add key="GoogleEnvVariable" value="GOOGLE_APPLICATION_CREDENTIALS" />
- Set 'token'
- Set 'AppId'