我在应用程序商店上有一个应用程序,它使用已过期的iOS配置文件(分发).此配置文件包含已过期的推送证书(并且不再出现在门户中).
问题1:有没有办法重新创建推送证书然后更新配置文件?(我的钥匙串上还有推送证书(已过期))?
问题2:我是否需要使用包含新推送证书的新配置文件将应用重新提交到应用商店?
由于推送证书已过期,我可能无法向应用的现有用户发送通知.
用Windows 10重新安装我的机器后,Visual Studio 2015我在安装我的git存储库时遇到了这个错误:
→ npm install在以下不同项目中失败:
...
C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34): error C2373: "__pfnDliNotifyHook2": [...]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\...\node_modules\buffertools
gyp ERR! node -v v4.4.7 …Run Code Online (Sandbox Code Playgroud) 当屏幕底部的输入字段具有焦点时,键盘会向上推动我的webview,并且页面的上半部分不再可见.
我想阻止键盘推高webview.
有人有想法吗?
您如何html根据模型更改属性?
我正在尝试根据数组的长度更改输入的占位符文本:
<input placeholder="{{todos.length ? 'Insert todo' : 'Insert your first todo'}}" />
Run Code Online (Sandbox Code Playgroud)
但这似乎不起作用......
我跟着这个链接一切
http://ionicframework.com/docs/guide/installation.html
和我装Genymotion的Android Studio......但我下面......所示的错误挣扎每当我运行ionic run android或ionic emulate android:
Running command: "C:\Program Files\nodejs\node.exe"
C:\Users\t\todo\hooks\after_prepare\010_add_platform_class.js
C:/Users/t/todo
add to body class: platform-android
Running command: cmd "/s /c "C:\Users\t\todo\platforms\android\cordova\run.bat""
ANDROID_HOME=C:\Users\t\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_79\
WARNING : No target specified, deploying to emulator
WARNING : no emulator specified, defaulting to Nexus_5_API_23_x86
Waiting for emulator...
Could not launch './qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory
Run Code Online (Sandbox Code Playgroud)
我真的没有得到如何纠正这一部分...任何建议或帮助将非常感激......
我发现我可以file://使用iframe的contentWindow属性从远程主机上托管的页面和iframe 进行跨域通信.
例如,在设备上,我在url文件中有一个html页面://.../index.html,它加载了cordova并包含一个iframe:
<script type="text/javascript" src="cordova.js"></script>
<iframe id="appframe"></iframe>
Run Code Online (Sandbox Code Playgroud)
在这个页面上,我可以执行一个加载iframe的javascript,并在iframed页面中保存一个对象的引用,如下所示:
var iframe = document.getElementById("appframe");
iframe.onload = function(){
iframe.contentWindow.cordova = window.cordova;
}
iframe.src = "http://www.example.com/appframe.html";
Run Code Online (Sandbox Code Playgroud)
现在在iframe的页面上,http://www.example.com/appframe.html,我可以执行一个cordova调用,例如:
cordova.exec(null, null, "StatusBar", "hide", []);
Run Code Online (Sandbox Code Playgroud)
这意外地工作,调用StatusBar cordova插件的本机层并隐藏状态栏.
我的问题是:
这是安全使用还是在将来版本的浏览器中无法使用?
我在iOS 9和Android 5设备上测试过它.
我正在尝试从我的表中获取数据并将其显示在我的视图中并对这些数据进行分页。我收到了这个问题,但找不到任何解决方案。我在之前的项目中做了完全相同的事情,而且效果很好。
这是我的控制器
public function hadiBirlikteCalisalimShow (){
$users =DB::table('birlikte_calisalim')->paginate(15);
return view('admin.birliktecalisalim',compact(['users']));
}
Run Code Online (Sandbox Code Playgroud)
这是我的观点
<table class="table table-bordered table-hover table-striped">
<thead>
<tr>
<th>?sim</th>
<th>Email</th>
<th>Tarih</th>
<th>?stek</th>
</tr>
</thead>
<tbody>
@foreach($users as $row)
<tr>
<td>{{$users->name}}</td>
<td>{{$users->email}}</td>
<td>{{$users->tarih}}</td>
<td>{{$users->message}}</td>
</tr>
@endforeach
</tbody>
</table>
{{$users->links()}}
Run Code Online (Sandbox Code Playgroud) 这已经在旧版本中工作,ionic但现在我已经完成了对这个应用程序的其余部分的更新,并且回过头来确定声音将无法播放.
我有一个开关用于在应用程序中播放演示声音.这是代码,带有注释和注释掉的部分我认为可能会导致我的问题.事实并非如此.
.controller( 'SoundCtrl', function( $scope, $timeout ) {
$scope.sound_on = false;
var media = new Media( '100bpm.wav' );
$scope.soundPlayer = function() {
console.log( "in soundPlayer" );
if( $scope.sound_on == false ) {
$scope.sound_on = true;
media.setVolume( '1.0' );
media.play();
console.log( "sound on" );
console.log( media );
/*$timeout(function(){
$scope.sound_on=false;
console.log("should change");
}, 12600);*/
} else {
media.stop();
$scope.sound_on = false;
console.log( "sound off" );
}
}
});
Run Code Online (Sandbox Code Playgroud)
我得到了所有正确的控制台日志,并将wav文件放在与我的js脚本相同的文件夹中.
依然没有.
有帮助吗?
我有以下情况:
前端的
package.jsonRun Code Online (Sandbox Code Playgroud){ "dependencies": { "lib" : "1.0.0", "foo" : "1.0.0" } }库的
package.jsonRun Code Online (Sandbox Code Playgroud){ "devDependencies": { "foo" : "1.0.0" }, peerDependencies": { "foo" : "1.0.0" } }
当我使用webpack-dev-server一些前端进行开发时,我将模块foo与前端的npm link这个依赖关系树链接起来:
??? foo@1.0.0
??? lib@1.0.0
??? foo@1.0.0
Run Code Online (Sandbox Code Playgroud)
而不是有这样的事情:
??? foo@1.0.0
??? lib@1.0.0
Run Code Online (Sandbox Code Playgroud)
我已经发现在我的文件夹中webpack找到了模块,因为我定义了这个包作为我的单元测试。现在我在我的捆绑源中有两次这个包,这会导致一些错误。foolibnode_modulesdevDependencies
问题:我怎样才能像建议的那样强制 webpack或npm使用foo我的父母(前端)的模块?libpeerDependencies