Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Domain=com.google.remoteconfig.ErrorDomain Code=8003 #736

Open
kartikthakur2022 opened this issue May 30, 2022 · 1 comment
Open

Comments

@kartikthakur2022
Copy link

kartikthakur2022 commented May 30, 2022

Error Domain=com.google.remoteconfig.ErrorDomain Code=8003 \“An SSL error has occurred and a secure connection to the server cannot be made.\” UserInfo={NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made.}

Hi,
I am getting this error while requesting remote config data when connected to an unsecured wifi network. Is there any workaround for this? I am getting this error while fetching remote config for Android and ios devices.
Please help!!

cordova-plugin-firebasex : 13.0.1

@onlinecoder84
Copy link

Hi,

I also have problems with Token requesting, when the app starts I got these errors:

APNS device token not set before retrieving FCM Token for Sender ID '####'.Be sure to re-retrieve the FCM token once the APNS device token is set.

and also:

Declining request for FCM Token since no APNS Token specified

then:

The subscription operation failed due to an error getting the FCM token: Error Domain=com.google.fcm Code=505 "No APNS token specified before fetching FCM Token" UserInfo={NSLocalizedFailureReason=No APNS token specified before fetching FCM Token}.

and finally I got:

Failed restful api request to fetch in-app messages: seeing http status code as 403 with body as {
"error": {
"code": 403,
"message": "Firebase In-App Messaging API has not been used in project ###### before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firebaseinappmessaging.googleapis.com/overview?project=285713951715 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Google developers console API activation",
"url": "https://console.developers.google.com/apis/api/firebaseinappmessaging.googleapis.com/overview?project=285713951715"
}
]
},
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "SERVICE_DISABLED",
"domain": "googleapis.com",
"metadata": {
"service": "firebaseinappmessaging.googleapis.com",
"consumer": "projects/########"
}
}
]
}
}

What I did:

  • Crate apn key from apple and put in Firebase
  • Put the Google.plist in the project folder

Can anyone help me? On Android the app works fine, the problem is only iOS.

My Podfile:

DO NOT MODIFY -- auto-generated by Apache Cordova

source 'https://cdn.cocoapods.org/'
platform :ios, '11.0'
use_frameworks!
target 'Trovaslot' do
project '########.xcodeproj'
pod 'Firebase/Core', '10.10.0'
pod 'Firebase/Auth', '10.10.0'
pod 'Firebase/Messaging', '10.10.0'
pod 'Firebase/Performance', '10.10.0'
pod 'Firebase/RemoteConfig', '10.10.0'
pod 'Firebase/InAppMessaging', '10.10.0'
pod 'Firebase/Firestore', '10.10.0'
pod 'Firebase/Crashlytics', '10.10.0'
pod 'Firebase/Functions', '10.10.0'
pod 'Firebase/Installations', '10.10.0'
pod 'GoogleSignIn', '6.2.4'
pod 'GoogleTagManager', '7.4.3'
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants