我正在启动一个cordova应用程序(再次),发现FileTransfer不会屈服于我的意愿。这显然是不可接受的。
为避免任何冲突,我开始使用新应用并安装了3个插件:
我使用了在cordova网站上找到的最基本的代码片段进行了一些修改:
#include <iostream>
class Test
{
private:
int x;
public:
Test(int _x) :
x(_x)
{
std::cout << "Im being constructed" << std::endl;
}
int getx()
{
return this->x;
}
friend std::ostream& operator<<(std::ostream& os, Test& other)
{
os << other.getx();
return os;
}
};
auto func(auto x)
{
std::cout << x << std::endl;
return x.getx();
}
int main()
{
auto y = func(20);
return 0;
}
显然test.txt是可以访问的。但是该函数仍然是错误函数。
我在浏览器平台中使用此功能。
我在堆栈上找到了很多答案,但没有一个接近我的版本。所以我想知道其他代码的统治者是否有相同的问题或者有一个提示,所以我可以找到并消除这个错误。
我的版本是5.4.0
答案 0 :(得分:0)
那么,你们所有人都在那里。没有直接的问题也没有解决方案。此功能仅在运行应用程序时有效。即使控制台提到&#34;为File&#34;添加代理,浏览器也没有工作回退。 这显然并不意味着我的想法。
如果我想写一个后备,我会在这里发布。