Skip to content

Commit

Permalink
Merge pull request #2472 from acterglobal/kumar/ref-details-improvements
Browse files Browse the repository at this point in the history
Improvement in refDetail and Space Object sharing enhancements
  • Loading branch information
kumarpalsinh25 authored Jan 3, 2025
2 parents 703d246 + fc355da commit e11211d
Show file tree
Hide file tree
Showing 40 changed files with 1,563 additions and 2,387 deletions.
1 change: 1 addition & 0 deletions .changes/2472-sharing-improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Enhancement] : Now you you can share space object to other apps also via unique link
2 changes: 1 addition & 1 deletion app/lib/common/actions/add_space_object_ref.dart
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'package:acter/common/widgets/event/event_selector_drawer.dart';
import 'package:acter/common/widgets/pin/pin_selector_drawer.dart';
import 'package:acter/common/widgets/share/widgets/attach_options.dart';
import 'package:acter/common/widgets/task/taskList_selector_drawer.dart';
import 'package:acter/features/attachments/actions/handle_selected_attachments.dart';
import 'package:acter/features/events/providers/event_providers.dart';
import 'package:acter/features/pins/providers/pins_provider.dart';
import 'package:acter/features/share/widgets/attach_options.dart';
import 'package:acter/features/tasks/providers/tasklists_providers.dart';
import 'package:acter_flutter_sdk/acter_flutter_sdk_ffi.dart';
import 'package:flutter/material.dart';
Expand Down
5 changes: 4 additions & 1 deletion app/lib/common/providers/app_install_check_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:io';
import 'package:appcheck/appcheck.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

enum ExternalApps { whatsApp, telegram, signal }
enum ExternalApps { whatsApp, whatsBusiness, telegram, signal }

final isAppInstalledProvider = FutureProvider.family<bool, ExternalApps>(
(ref, externalApp) async {
Expand All @@ -12,6 +12,9 @@ final isAppInstalledProvider = FutureProvider.family<bool, ExternalApps>(
ExternalApps.whatsApp => await appCheck.isAppInstalled(
Platform.isAndroid ? 'com.whatsapp' : 'whatsapp://',
),
ExternalApps.whatsBusiness => await appCheck.isAppInstalled(
Platform.isAndroid ? 'com.whatsapp.w4b' : 'whatsapp://',
),
ExternalApps.telegram => await appCheck.isAppInstalled(
Platform.isAndroid ? 'org.telegram.messenger' : 'tg://',
),
Expand Down
244 changes: 0 additions & 244 deletions app/lib/common/widgets/share/action/share_space_object_action.dart

This file was deleted.

Loading

0 comments on commit e11211d

Please sign in to comment.