I'm using delphi to build my ios App. Starting with firebase 9, I cannot anymore compile my project with firebase. when I try (with -ObjC linker flag) i receive error like:
[DCC Error] E2597 ld: warning: Could not find or use auto-linked framework 'FBLPromises'
Undefined symbols for architecture arm64:
Error: "_OBJC_CLASS_$_FIRHeartbeatController", referenced from: objc-class-ref in ios-arm64/FirebaseCore.framework/FirebaseCore(FIRHeartbeatLogger.o);
and this still firebase 10.2.0. but with firebase 8.15.0 it's was working fine. Is there any change made in firebase 9.0.0 that can explain this? Is there any workaround?
According to this github issues page this issue is similar to what you're facing. You may need to add FirebaseCoreInternal.xcframework into your project.
Related
I have downloaded Android SDK 5.1.0 from url https://github.com/freshworks/freshchat-android/releases
of SDK Documentation:
https://support.freshchat.com/en/support/solutions/articles/50000000207-freshchat-android-sdk-integration-steps#4.1-Conversations
to implement it in xamarin.android project and this sdk is using handlers for click and some other events.
I converted this jar file into .dll using Xamarin Android Class Library. (jar build action is InputJar).
When I rebuild this class library project then no errors came and it released .dll successfully
Then I referenced this dll into my project and I rebuild it.
Here, I got some handler related issues that these handlers are not registered/missing in activity.
(1) error: package com.freshchat.consumer.sdk does not exist
com.freshchat.consumer.sdk.FreshchatWebViewListener
(2) error: package com.freshchat.consumer.sdk does not exist
com.freshchat.consumer.sdk.FreshchatUserInteractionListener
(3) error: package com.freshchat.consumer.sdk does not exist
com.freshchat.consumer.sdk.FreshchatActionListener
This is Android Class Library where I added sdk
Here, I referenced ClassLibrary .dll
handlers from sdk is appeared as a interface
MainActivity.cs
Errors when I rebuild
When I click on one of these error then it shows some definition in referenced sdk:
com.freshchat.consumer.sdk.FreshchatWebViewListener
Codewise I have not consumed sdk function in the mainactivity.
It looks like sdk is using some handlers which need to define in the MainActivity.cs
Am I defining in a wrong way or path is wrong for this sdk implementation.
Please suggest how to fix these errors while class library implementation.
The below error shows up when i try link the library react-native-firebase
Package react-native-firebase has been ignored because it contains invalid configuration. Reason: Unknown option dependency.platforms.android.buildPatch with value ""\ implementation project(':react-native-firebase')"" was found. This is either a typing error or a user mistake. Fixing it will remove this message.
And when i run the app the below error shows
From my research this happens in react native version 0.60 but have no idea how to solve it ??
Related GitHub issue link below
https://github.com/invertase/react-native-firebase/issues/2194
I'm trying to allow customers to pay with their credit card on my app. So I followed these instructions to run the paypal here sdk sample app but I'm having trouble building the sample app. It gives me the following errors.
:processDebugResources
warning: string 'sdk_dlg_title_card_swipe' has no default translation.
C:\Users\HaMiD\Downloads\Source\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.2\res\values-sw600dp\values.xml
Error:(2) Resource entry abc_action_bar_default_height_material is already defined.
C:\Users\HaMiD\Downloads\Source\build\intermediates\exploded-aar\paypal-here-sdk\res\values-sw600dp-v13\values.xml
Error:(2, 1) Originally defined here.
Next, I added the SDK to my own project (File->New->New Module->aar) and add compile project(':PayPalHereSDK') to the build.gradle. But when I try to build the project I get the exact same error once again. For some reason I'm having issues building with the SDK. Any help would be appreciated.
Thanks
Seems that was an issue with SDk 1.6. The new version (1.6.1) that posted to github a few hours ago doesn't have this problem anymore.
Thanks guys
I need to generate the javadoc for a Library in Android Studio.
The problem is that, when I start to create the doc, I see the following logs:
Constructing Javadoc information...
Standard Doclet version 1.8.0_31
Building tree for all the packages and classes...
[...]
1 error
javadoc: error - com.sun.tools.doclets.internal.toolkit.util.DocletAbortException: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.FunctionalInterface not found
I don't know exactly what is the problem. I think it is the doclet version (it takes by default 1.8.0_31); I tried to modify it but I did not succeed... any help?
I am using Mac OSX and Android Studio 1.2.2
I have a project I'm working on in Android Studio that currently uses the Facebook SDK for retrieving some information about a Facebook user. It works pretty well.
I also need to implement AddThis, however when I try to compile this project with both SDKs referenced, I get the error:
Android Dex: [<removed>] com.android.dx.util.DexException: Multiple dex files define Lcom/facebook/android/AsyncFacebookRunner$1;
Inside the AddThis .jar, as expected, com.facebook.android.AsyncFacebookRunner exists. Obviously it also exists in the Facebook SDK module. There is functionality that I need in AddThis that doesn't exist in Facebook, and vice versa.
Does anyone know a way to handle this type of situation?
I was able to resolve this issue:
Since the Facebook SDK is a module and not a jar, I referenced AddThis0.8.8.jar from the Facebook SDK module, and removed the reference to it from my project directly.
After doing so, there was still a conflict between com.facebook.android.* in the Facebook SDK and the duplicate ( com.facebook.android.* ) in the AddThis jar. So, I deleted the com.facebook.android package along with it's contents - from the Facebook SDK - then included com.addthis in ( class path, I think? Android Studio suggested to include it when I typed "ATButton" in code. I said "Heck yea, thanks JetBrains!" ).
I am now able to use AddThis as well as the Facebook SDK without any conflicts.
I hope this process can help someone out there in some way.
[Edit]
There were still problems with this. I reverted the Facebook SDK, and removed the Facebook stuff from the AddThis jar. Not 100% working still, but probably a better idea to keep all Facebook stuff in the Facebook module. Please do post an answer if you have a better solution.