Laravel-7我正在打开一个在 Angular 项目中使用 iframe 内部开发的页面。页面正在显示记录。但是在创建或更新记录时,页面会抛出 419 错误。
我已经更新了“same_site”=>“none”,但没有帮助。
这两个项目都部署在 GCP 中
我已附上我的 session.php 文件。
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file", "cookie", "database", "apc",
| "memcached", "redis", "dynamodb", "array"
|
*/
'driver' …Run Code Online (Sandbox Code Playgroud) Iam trying to implement notification using @react-native-firebase/messaging in react native app.The App returns the FCM token ,but when a notification is received the app closes.
I got below error in crashlytics
Unable to instantiate service io.invertase.firebase.messaging.RNFirebaseMessagingService: java.lang.ClassNotFoundException: Didn't find class "io.invertase.firebase.messaging.RNFirebaseMessagingService" on path: DexPathList
Below are the library versions used in app.
"@react-native-firebase/analytics": "^7.6.7",
"@react-native-firebase/app": "^8.4.3",
"@react-native-firebase/crashlytics": "^8.4.9",
"@react-native-firebase/messaging": "^7.8.11",
"react": "16.13.1",
"react-native": "^0.63.3",
Run Code Online (Sandbox Code Playgroud)
android/build.grade
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript …Run Code Online (Sandbox Code Playgroud) javascript push-notification firebase react-native firebase-cloud-messaging
当我打开发布版本时,我收到以下错误。它在 IOS 和 Android 中都会发生。
E/AndroidRuntime:致命异常:mqt_native_modules进程:com.package.name,PID:28695 com.facebook.react.common.JavascriptException:ReferenceError:找不到变量:typeAnnotation,堆栈:@980:17088 v@2:1473 @979:425 v@2:1473 @978:339 v@2:1473 @971:6338 v@2:1473 @970:139 v@2:1473 @969:218 v@2:1473 @968:117 v @2:1473 @882:1330 v@2:1473 @545:542 v@2:1473 @406:344 v@2:1473 @6:57 v@2:1473 d@2:875 全局代码@1766: 3 在 com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:83) 在 java.lang.reflect.Method.invoke(本机方法) 在 com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper .java:372)在com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)在com.facebook.react.bridge.queue.NativeRunnable.run(本机方法)在android.os.Handler.handleCallback (Handler.java:789) 在 android.os.Handler.dispatchMessage(Handler.java:98) 在 com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) 在 android.os.Looper。循环(Looper.java:164)在com.facebook.react.bridge.queue.MessageQueueThreadImpl $ 4.run(MessageQueueThreadImpl.java:226)在java.lang.Thread.run(Thread.java:764)
项目信息
System:
OS: macOS 11.0.1
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 111.48 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.22.5 - …Run Code Online (Sandbox Code Playgroud)