Skip to content

Commit

Permalink
Add Iranian messengers: 'Bale' and 'Eitaa' (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmha97 authored May 26, 2024
1 parent 450b486 commit e335a7c
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 0 deletions.
19 changes: 19 additions & 0 deletions recipes/bale/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/bale/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/bale/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "bale",
"name": "Bale",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://web.bale.ai/"
}
}
16 changes: 16 additions & 0 deletions recipes/bale/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};
28 changes: 28 additions & 0 deletions recipes/eitaa/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/eitaa/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
9 changes: 9 additions & 0 deletions recipes/eitaa/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "eitaa",
"name": "Eitaa",
"version": "1.0.0",
"license": "MIT",
"config": {
"serviceURL": "https://web.eitaa.com/"
}
}
16 changes: 16 additions & 0 deletions recipes/eitaa/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};

0 comments on commit e335a7c

Please sign in to comment.