

MikeMon
Members-
Content Count
147 -
Joined
-
Last visited
-
Days Won
1
Everything posted by MikeMon
-
IBLite "product INTERBASE is not licensed" Exception after Delphi Rio 10.3.3 Update
MikeMon posted a topic in Cross-platform
Hi After upgrading to Delphi Rio 10.3.3, I have an issue with IBLite licensing on Android devices (haven't checked on iOS). The issue is the following. When a user downloads the app for the first time, it runs perfectly fine. When they update the app (if they have it already installed on their phone), they get the "product INTERBASE is not licensed" exception. In the same way, during development, if I do a "clean install", everything works fine. If I don't I'm getting the same error. Most probably, there is a file on the existing app that is not being overwritten during the update because it is newer then the file on the updated app. The files needed for IBLite are the following: - reg_iblite.txt - ibconfig - admin.ib - license.txt - oss_license_notice.txt - interbase.msg I even changed the date on my PC, modified the files above to have a future datestamp and tried again. Same error. Is there something I'm missing? Kindly advise -
IBLite "product INTERBASE is not licensed" Exception after Delphi Rio 10.3.3 Update
MikeMon replied to MikeMon's topic in Cross-platform
I changed my Interbase connection from IBLite to IBTogo. Now, if I run the app without the "-cleaninstall" in the Run parameters, it works fine on the device. If I create a bundle (32 & 64-bit) and upload it to the Google Play Store, I'm getting the same error: "product INTERBASE is not licensed". Have in mind that this is ONLY if the app is already installed and is updating; not when the user is installing it for the first time. I'm out of ideas. -
Hi In the Embarcadero Delphi Rio documentation on how to upload an app bundle to the Google Play Console (http://docwiki.embarcadero.com/RADStudio/Rio/en/Submitting_Your_Android_App_to_Google_Play#Android_App_Bundle_Support), in the "Let Google manage and protect your app signing key (recommended)" section, there is an option for "Let Google create and manage my app signing key (recommended)" option. This option doesn't exist on the Google Play Console. FYI, it is the first time I'm uploading an app bundle, but it is not the first release of my app. What should I do in this case?
-
Nevermind. I used the "Export and Upload a key and certificate from a Java Keystore" choice.
-
Linker errors when including Facebook SDK on iOS12
MikeMon replied to Hans♫'s topic in Cross-platform
Tx Hans and Dave -
Linker errors when including Facebook SDK on iOS12
MikeMon replied to Hans♫'s topic in Cross-platform
Hi Hans. Thank you for your answer. Have you seen Embarcadero's implementation in their documentation below? http://docwiki.embarcadero.com/RADStudio/Rio/en/REST_Client_Library#Accessing_Facebook_API Is that enough to use Facebook functionality in an app? e.g. login with facebook, etc... -
Using Facebook SDK in Firemonkey (iOS and Android)
MikeMon replied to MikeMon's topic in Cross-platform
Any ideas? -
Using Facebook SDK in Firemonkey (iOS and Android)
MikeMon replied to MikeMon's topic in Cross-platform
Hi Dave. Thank you for your answer. The link you sent doesn't seem to be for Delphi or Firemonkey. Any other links that you might be aware of? -
Linker errors when including Facebook SDK on iOS12
MikeMon replied to Hans♫'s topic in Cross-platform
The link https://blog.grijjy.com/2017/01/23/using-facebook-sdk-native-framework-for-ios-and-android-for-social-login-and-more-part-1/ and the GitHub repository https://github.com/grijjy/DelphiSocialFrameworks are 3 years old. Is there a newer way of using the Facebook API with Firemonkey (iOS and Android)? -
Hi Any latest tutorials or links on how to set up Firebase Push notifications on iOS?
-
Finally problem solved: Copying the FireDAC.inc file to the project folder and altering it didn't work. However, altering it in the C:\Program Files (x86)\Embarcadero\Studio\xx.0\source\data\FireDAC folder solved the problem. Thank you @Dave Nottage for your valuable assistance.
-
Hi Dave After a million trial and errors, I found out that the issue is with TFDPhysSQLiteDriverLink. To replicate the issue, just drop a TFDPhysSQLiteDriverLink in the KastriFree EMBTFCMv2Demo and run it on iOS. No extra code needed. I've also tried the workaround posted by you in RSP-18329. FYI, android has no problem. I'm using Delphi 10.3.3 Enterprise.
-
Hi Dave. I'm attaching the log from the XCode Console. Console Log.txt
-
No. The first time I run the app, it's prompting me and then hanging. After that it is never prompting; just hanging. The version of the app is not uploaded to the app store yet.
-
BTW, the error I'm getting is when I use the latest Firebase SDK 6.14. When I use 6.3 it's compiling fine. When I run the app, it's asking me if I want the app to send me notifications. When I click yes and every time I run the app after that it is hanging. Not sure what I'm missing here.
-
Hi Dave Thank you for the information. Following the information you gave, I've set up Firebase for iOS 64-bit. Everything compiles fine (but crashes on launch) without adding -ObjC to the "Options passed to the LD linker". When I add -ObjC to the "Options passed to the LD linker" I'm getting the following error (346 errors in fact) during compilation: [DCC Error] E2597 ld: warning: dwarf DW_FORM_strp (offset=0xFFFFFFDC) is too big in c:\program files (x86)\embarcadero\studio\20.0\lib\iOSDevice64\Release\libibtogo.a(ail.o). Any ideas on how to solve it?
-
Hi I have an issue with an app crashing on some Android devices. The devices on which the app crashes are some Android 9 devices; although on other Android 9 devices the app works fine. The crash happens ONLY when the app is connected to the internet. When I disable the Wi-Fi, it doesn't crash. To test it, I run the app with the Wi-Fi disabled, it starts up fine. While the app is running I enable the Wi-Fi and the app crashes after a couple of seconds without me doing anything. I've attached the Android log file if anyone could help me point out where the problem is. Tx log.txt
-
And then there was light!! Dave, this fixed the issue. Thank you very much for all the help!! I added the below line to the <application> tag of the project's AndroidManifest.xml. <uses-library android:name="org.apache.http.legacy" android:required="false" />
-
Hi Dave The exception seems to be different everytime. I can't seem to figure out what the problem is. It works on some Android Pie devices and not on others. I've attached another log file that shows different entries leading to the crash. log4.txt
-
HI Dave Thank you for your answer. Yes. The package is cy.com.wagamama.ordercy. The app does use network to communicate with a datasnap server, but even if I disable all network traffic, it is still crashing during startup. I've attached a second log file without any datasnap calls. log2.txt
-
Using Expressions in the Group By Clause in Interbase
MikeMon replied to MikeMon's topic in Databases
Hi Lars Not possible. As a workaround, I created computed (calculated) fields and used them in the group by clause. -
Using Expressions in the Group By Clause in Interbase
MikeMon replied to MikeMon's topic in Databases
Hi Lars Thank you for your answer again. Unfortunately, the derived table feature (nested select) was introduced in Interbase 2017. I'm still using Interbase XE3. Actually, after doing some research, expressions in the group by clause I mentioned above were also introduced in Interbase 2017. -
Printer.Canvas.TextOut Procedure's X Position is Ignored with Built-In Printer Fonts
MikeMon posted a topic in General Help
Hi I use the "Printer.Canvas.TextOut(X, Y: integer; const Text: string)" procedure to print to a thermal pos printer. I have an issue with the X position when I use built-in printer fonts, e.g. "FontA11". When I use windows fonts, e.g. Arial, the X position works fine. Basically, with built-in fonts, the X value is being ignored whatever value it is being passed, i.e. TextOut(0, 0, 'Print Something') and TextOut(100, 0, 'Print Something') are printing at the EXACT same position. The thermal printer driver I am using is "Thermal Printer Drivers 4.57". FYI, "Thermal Printer Drivers 3.0" worked fine but can't be used on Windows 10 computers. Please, advise -
Printer.Canvas.TextOut Procedure's X Position is Ignored with Built-In Printer Fonts
MikeMon replied to MikeMon's topic in General Help
Hi Lars Thank you for the link. I'm familiar with the info, but unfortunately, it doesn't help me. Everything works fine except for the X position. The fonts are used normally and printed on the printer. The Y position works fine. The only problem is the X position. The latest driver X-POS 4.57 has the same problem even on Windows 7. An older driver Vendor Thermal Driver 3.2 works fine on Windows 7. They both use the same font: FontA11 or FontA1x1. I've had other issues with some built-in fonts and thermal printers before, where the PageWidth, TextHeight and TextWidth functions don't return the correct values, but these things can be assigned programmatically. Whereas in the case of the X, there is nothing one can do. -
Printer.Canvas.TextOut Procedure's X Position is Ignored with Built-In Printer Fonts
MikeMon replied to MikeMon's topic in General Help
Hi Lars Thank you for your answer. There are no TT version of the POS printer fonts available. FYI, the Y in the Printer.Canvas.TextOut and all other font functions work fine, e.g. Printer.Canvas.TextHeight and Printer.Canvas.TextWidth.