cost 81 ms
电容器 - Ionic - Android 前台推送通知 - pushNotificationActionPerformed 从未调用过 - Capacitor - Ionic - Android foreground push notification - pushNotificationActionPerformed never called

我是电容器和离子框架的新手。 我正在尝试使用 FCM 触发和深入链接到我的应用程序。 以下是输出: Ios:应用程序在后台、前台和终止 state - 当点击推送时,pushNotificationActionPerformed 侦听器被正确调用。 Android:应用程序在后台被杀死 stat ...

Ionic 在组件中使用不同的标签栏 - Ionic use different tabs bar in component

我目前正在使用 Angular 构建我的第一个离子应用程序。作为模板,我使用推荐的生成命令的基本设置,它有选项卡: 在每个选项卡上,我都使用 ion-nav 打开子组件。 例如,在聊天选项卡上,我可以通过以下代码打开一个聊天: 它按预期工作。 唯一的问题是,我仍然可以看到底部的导航选项卡。 我想更改 ...

最小化应用程序时收到推送通知时出错:针对 S+(版本 31 及更高版本)需要 FLAG_IMMUTABLE 或 FLAG_MUTABLE 之一 - Error receive push notification when app is in minimized : Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE

当我们在应用程序暂时处于后台时收到推送通知时,我们会收到此错误:Targeting S+ (version 31 and above) requires that one of the FLAG_IMMUTABLE or FLAG_MUTABLE 我们已经看到,对于 android sdk 31,可 ...

在 Ionic Framework 6 中找不到翻译 Pipe (ngx-translate) - Translation Pipe (ngx-translate) not found in Ionic Framework 6

我想使用 ngx-translate Pipe 来翻译我的离子应用程序。 应用程序模块.ts 应用程序组件.ts 我可以在 app.component.html 中使用 pipe 但不能在我的主页 (home.page.ts) 中使用我怎样才能解决这个问题? 我是否必须为 Ionic 制定解决方法 ...

Ionic/Cordova Mac iOS 平台添加 - TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at macosRelease - Ionic/Cordova Mac iOS platform Add - TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at macosRelease

当我尝试使用离子 cordova 平台添加 iOS 添加 iOS 平台时出现错误。 当前错误是 node_modules/macos-release/index.js:30 const [name, version] = kshfNameMap.get(release); ^ TypeErro ...

Angular 删除 API 请求未清除我的购物车 - Angular DELETE API request doesn't clear my cart

在我的应用程序的购物车组件中,我有一个“清除购物车”按钮。 我正在尝试通过向 API 发送删除请求的 API 调用来清除购物车。我的编译器没有向我显示任何错误,web 浏览器的控制台也没有显示任何错误...但是当我单击“清除购物车”按钮没有任何反应……物品留在我的购物车里…… 我究竟做错了什么? 这 ...

为什么在使用多个 Ionic 模态时无法关闭 Ionic 模态? (有角度的) - Why can't I close an Ionic modal when using more than one? (Angular)

我正在使用 Ionic 构建一个 Angular 应用程序。 该应用程序的目标是跟踪您的开支,并能够了解您在每个不同账户上有多少钱。 我正在使用 ion-fab-list 来显示用于添加交易和添加新银行帐户的不同按钮。 这些按钮打开不同的离子模式。 我已经获得了添加新事务的模式。 但是,当我尝试添 ...

如何将 AsYouType() (libphonenumber-js) 附加到反应性 Angular 离子输入场? - How to attach AsYouType() (libphonenumber-js) to a reactive Angular ion-input field?

我有一个离子输入字段来输入电话号码。 它执行格式化,但在用户输入区号并尝试退格其中一个括号后,它会无限地继续添加它们,因为它会在每次按键更改时替换输入。 在 libphonenumber-js 演示中,它有一个字段可以正确格式化并允许正常退格。 所以我的结论是我将 AsYouType object ...

如何基于 Ionic React 以 React hook 形式正确更新 isDirty 值 - How to properly update isDirty values in react hook form based on Ionic React

我有一个Ionic react上的应用,有两个presentation组件,一个绘制另一个modal,第二个modal,有两个钩子,一个负责打开和关闭modal,第二个负责表单处理逻辑,我需要输入字段时检查表单是否脏,我需要立即更新值 isDirty,因为我想通过管理和 MyModal 将其更改值从 ...

如何通过 usb 配置在移动设备上运行的 React 电容器应用程序,使 http 请求 sendbird 作为本地主机而不是其 IP 地址? - How to configure a react capacitor app running on mobile by usb to make http request to sendbird as localhost instead of its IP address?

我有一个 React webapp,我已经使用 Capacitor 将它转换为本机应用程序。 对于实时重新加载,我必须按如下方式编辑 capacitor.config.json: 在应用程序向 sendbird 发出初始化请求之前,这一切正常。 我收到错误消息:'SendBirdCall 需要 h ...

找不到离子电容器模块 - Ionic Capacitor Module Not Found

几天前运行良好的代码出现以下错误。 开发环境中的某些内容发生了变化,我无法确定缺少的内容。 这是一个 Windows 11 环境,带有全新的 Android Studio 安装,SDK 我已经成功运行以下 和 关于浏览器API的两行如下(摘自官方示例): 如果我注释掉 usage 行,那么构建成功并 ...

如何修复 Ionic Photo Viewer gradle 编译器错误? - How to fix Ionic Photo Viewer gradle compiler error?

所以我浪费了很多时间试图将照片查看器简单地添加到我的 ionic angular 应用程序中。 步骤看似简单。 由于 rxjs 版本,我仅仅安装它就遇到了很多问题。 不管怎样,据说不用强制选项就可以解决这个问题。 然后我运行ionic build; npx cap sync android; np ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM