问题标签 [ibm-mobile-services]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
77 浏览

mobile - Bluemix:具有 IMFCore 框架的架构 arm64 的重复符号

我正在尝试将 IBM 推送通知与我的移动优先应用程序集成。我正在使用xcode 7objective c。但是使用 IMFCore 框架,我遇到了类似的错误duplicate symbols for architecture arm64

以下是错误详细信息:

请帮忙 。

0 投票
1 回答
110 浏览

ibm-cloud - Bluemix 创建应用程序错误

在 Bluemix 仪表板上创建应用程序时出现以下错误,无论是否使用唯一的应用程序名称

BXNUI0005E: 无法添加“MyFirstMobileAppTest”应用程序。请参阅 IBM Bluemix 文档中的故障排除主题以检查服务状态、查看故障排除信息或获取有关获取帮助的信息。

0 投票
2 回答
217 浏览

android - 状态栏中的 IBM mfp 推送通知 (Cordova)

您好我正在尝试在 Android 状态栏中显示推送通知。我正在使用ibm-mfp-push 插件和这段代码:

我正确收到通知,但我不知道如何在状态栏中显示此通知。有任何想法吗?

谢谢

0 投票
2 回答
317 浏览

android - Bluemix Android Push Notification unable to implement custom sound notification

I'm trying to implement Bluemix Push Notification custom sound in Android with Mobile First Services Starter (MFSS) and/or Mobile App Builder. At the moment I can send simple push notifications to devices and works well.

The problem comes when I want to play a sound for notification.

With MFSS I'm trying using this code:

On the other side also I'm trying using the IMF Push Service REST API with this payload the messages arrives but doesn't play the sound::

}

Finally from the push notification dashboard I'm using the documentation payload, also the messages arrives but doesn't play the sound:

Note: I'm created the raw folder in order to save the notification.wav file, also I'm implementing a button click listener in order to test the sound file and works well, the sound it's clear.

Any help will be appreciated.

0 投票
1 回答
44 浏览

push-notification - IBM-Bluemix 推送迁移

我设置了必须迁移的推送通知服务(因为 IBM 正在关闭旧服务)。

我使用了原来的应用程序,只是打开了一个新的推送服务。

现在,当我尝试使用 REST-API 在线测试安装时,它告诉我应用程序密码无效。

我是否也必须打开一个新应用程序?(此外,我在新界面中找不到 app-secret)

旧的移动应用程序会发生什么。该服务是否会并行运行一段时间?

0 投票
1 回答
33 浏览

push-notification - IBM Bluemix:迁移移动数据服务数据

我设置了一个需要迁移的推送通知服务,因为 IBM 正在关闭旧服务,通过此服务,我有一个拥有许多用户的移动数据服务。然后我创建了一个新应用程序并创建了服务:IBM Push Notifications、Cloudant NoSQL DB 和 Mobile Client Access。如何使用新的推送通知服务将旧用户带到新应用程序?

0 投票
1 回答
233 浏览

ios - 首次注册服务时,iOS 上的 IBM-Bluemix Push Service 使应用程序崩溃

我在 iOS 设备上使用 bluemix 上的新推送通知服务。

设备注册成功。当我检查 REST-API 时,我看到了设备 ID、令牌等。

但是,在设备上运行 iOS 应用程序会在首次运行和注册时使应用程序崩溃。

崩溃发生在CDVMFPPush.swiftfunc didRegisterForRemoteNotifications(deviceToken: NSData) 309 行 ( let pushToken = response.responseJson["token"] as! String)。

print(response)在这个函数中做了一个,似乎 responseJson 只包含 deviceId 和 userId。令牌丢失。当我再次使用 REST-Api 执行相同的请求时,响应似乎已完成。

我认为由于这个错误,推送注册没有完成,因为当我尝试在沙盒模式下运行服务时没有收到任何通知。

有任何想法吗?

(PS 我检查了这个解决方案 -尝试将设备注册到 Bluemix 上的 IBM Mobile First Push 服务时,iOS 应用程序崩溃- 设置了链接器标志 [-ObjC])

这是来自我的控制台的请求(编辑了 app-id/secret/device)

0 投票
1 回答
425 浏览

ios - 无法加载底层模块 bmspush

我正在遵循https://new-console.ng.bluemix.net/docs/services/mobilepush/c_ios_enable.html上的 Swift 说明

尝试导入 BMSPush 时,出现以下错误:“无法加载底层模块 bmspush”。导入 BMSCore 没有问题。安装 pod windows 说:

我已经从这里看到了答案,但没有帮助:在使用 cocoapods 安装 SDK 后没有这样的模块 'BMSPush'

0 投票
1 回答
50 浏览

ios - 使用 Bluemix 和 MobileFirst Platform for iOS 构建 iOS 8 应用程序

我跟着Link用 Bluemix 实现了 iOS App。我遵循了上面链接中给出的所有步骤。

我收到错误“创建远程数据存储时出错错误域=统一代码=100”创建远程数据库失败。”

供参考,请在下面找到日志 -

我无法找到这个错误来自哪里。期待帮助解决我的问题。

0 投票
3 回答
119 浏览

ibm-cloud - Mobile App Builder 如何从 Cloudant 获取位置(纬度、经度)数据?

我正在尝试将位置类型数据从 Cloudant 读取到 Mobile App Builder (MAB) 中。看起来 MAB 无法解析它。如果我手动创建该列仍然无法将其与来自 Cloudant 的数据匹配

{“_id”:“d07165c0087a05b8ae732266dc37f106”,“_rev”:“8-76f0947057bf237bc897adc20f838ce9”,“名称”:“莫里斯维尔位置”,“地址”:“87 Peste Drive”,“电话”:“919-278-1122”, “电子邮件”:“morrisville@store.com”,“位置”:{“纬度”:“35.808514”,“经度”:“-78.812794”}}

我应该为位置数据使用什么格式以便 MAB 可以解析它?