Massimiliano S
Members-
Content Count
31 -
Joined
-
Last visited
Community Reputation
1 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Google Signin Firebase for Store doesn't work
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Hello Dalija, Yes I did it but it still works. I started from the example in Kastri I extracted the SHA1 from the Key Stores of the Debug App and the store of my application I went to https://console.firebase.google.com/ and created the application. I added the two SHAs plus Certificate of the app signing key, the SHA-1 Fingerprint taken from ttps://play.google.com/console I downloaded the JSON and took the client_id with "client_type": 3 If I compile in Development it works if I compile for store no, it returns code 10 I tried to use the other Client IDs too but they don't work Hello Dave, I struggled a bit but it works. It doesn't work with newer versions. What I did was start with v8.15.0, update Kastri to the latest version and add the missing files from a later version to FireBase. -
Hello, I've implemented Google authentication on my app using Firebase and the Kastri library. I've done all the configurations as per the GoogleSignin example project. On iOS, both in demo and on the Store, it works perfectly. On Android, it works correctly if I compile in development, but if I compile for the Store and upload it, the authentication returns a code 10. I've checked all the SHA-1 fingerprints for KeyStore.debug, development KeyStore, and the app in the Google Store at https://console.firebase.google.com/. I'm using the Client ID generated for the Web App (as per the example instructions) and not the Android ones (which just don't work). Do you have any suggestions on what it could be? Thanks Massimiliano
-
in firemonkey I save locally (win, IOS, Android) some Bitmaps in Jpeg format and reducing the quality and size. In this way 3 or 4 Mb files become 100 or 200Kb When I reload these files at runtime in a TBitmap of a Trectangle that I insert in a TListBoxItem, the RAM occupied is a lot, sometimes even 20 Mb. The result is that if I have to upload 150 files for a total of 20 Mb on the disk in memory I find myself occupying almost 600 Mb. Does anyone know why and how to decrease the occupation in memory? Thanks
-
share extensin IOS App receive shared web link from Safari and Other apps
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Hi Dave, finally after a long time I managed to solve Thanks a lot to you, Chris and Allen. Without you I wouldn't have been able to do it. You are great developers and great people Massimiliano- 31 replies
-
share extensin IOS App receive shared web link from Safari and Other apps
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Thank you very much Dave, I'm going to try and finally hope to succeed. Chris's post is really complete and accurate and you at Allen have helped me a lot too- 31 replies
-
share extensin IOS App receive shared web link from Safari and Other apps
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Hi Dave, Yes in Xamarin it is possible but I haven't tried it yet. https://forums.xamarin.com/discussion/177382/how-to-implement-share-extension-to-xamarin-forms-ios-project You would really do me a huge favor. Yes, I can confirm it- 31 replies
-
share extensin IOS App receive shared web link from Safari and Other apps
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Unfortunately following this POST I have not been able to create the archive file and I have stopped for two months on this problem. In fact, if I copy the whole PlugIns folder and insert the references in the deployment I always get this error: [PAClient Error] Error: E0776 error: exportArchive: "yashare.appex" requires a provisioning profile. [PAClient Error] Error: E0776 Error Domain=IDEProvisioningErrorDomain Code=9 ""yashare.appex" requires a provisioning profile." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="yashare.appex" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.} the PlugIns folder contains a yashare.appex folder which contains: yashare Info.plist embedded.mobileprovision Base.lproj \ MainInterface.storyboardc \ Info.plist Base.lproj \ MainInterface.storyboardc \ j1y-V4-xli-view-wbc-yd-nQP.nib Base.lproj \ MainInterface.storyboardc \ UIViewController-j1y-V4-xli.nib _CodeSignature \ CodeResources I tried with Ad Hoc mode but it's the same with Store mode. After creation of: all provisioning prodiles, parallel solution in xcode, certificates, Group etc .. What I have done is - Build in xCode (maybe something wrong here) - Copy the Plugins folder to my delphi project folder - Map all files in the deployment - Compile the Delphi version for Ad Hoc Last month I found this POST on Quality Center of embarcadero https://quality.embarcadero.com/browse/RSP-23804 Chris Pimlott seems to have had the same problem as mine and says Delphi is unable to add provisioning profile to plugIn He suggested an alternative method, that is to generate an Archive file in xCode with the parallel solution, from here extract the exportOptions.plist file, then from the command line on a mac launch a script with the various steps to create the archive with xcodebuild Unfortunately this solution also gives me an error and I always get this message 2020-09-10 16: 58: 54.881 xcodebuild [2882: 120742] [MT] IDEDistributionMethodManager: - [IDEDistributionMethodManager orderedDistributionMethodsForTask: archive:]: Error = Error Domain = IDEDistributionMethodManagerErrorDomain CodeInfo User Error = 2 "Unknown Distribution Error" {NSLocalizedDescription = Unknown Distribution Error} error: exportArchive: exportOptionsPlist error for key 'method': expected one of {}, but found ad-hoc Error Domain = IDEFoundationErrorDomain Code = 1 "exportOptionsPlist error for key 'method': expected one of {}, but found ad-hoc" UserInfo = {NSLocalizedDescription = exportOptionsPlist error for key 'method': expected one of {}, but found ad -hoc} Here, too, I'm probably doing something wrong but I don't know what. The idea I got, however, is that I am questioning delphi as a tool for developing apps. There is no documentation on App extensions even if they are very used and from embarcadero I have not had any support. At Xamarin I know that all these obstacles have overcome them- 31 replies
-
gallery Android 10 delphi 10.4 camera and gallery doesn't work
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Here the Exception procedure TBitmap.LoadFromFile(const AFileName: string); var Surf: TBitmapSurface; begin TMonitor.Enter(Self); try Surf := TBitmapSurface.Create; try if TBitmapCodecManager.LoadFromFile(AFileName, Surf, CanvasClass.GetAttribute(TCanvasAttribute.MaxBitmapSize)) then Assign(Surf) -
gallery Android 10 delphi 10.4 camera and gallery doesn't work
Massimiliano S posted a topic in Cross-platform
Hi, After updating to delphi 10.4 and SDK 29 the camera and gallery do not work on Android 10 Also delphi examples don't work. After taking a photo from the camera the app doesn't return anything while the gallery, after choosing the photo, raises this execption First chance exception at $ 00000074D87D473C. Exception class EBitmapLoadingFailed with message 'Loading bitmap failed (/data/user/0/com.embarcadero.CameraRoll/cache/IMG_20200911_1728082355078942815963051.jpg).'. Process CameraRoll.apk (11714) any ideas? -
Problem with Delphi RIO 10.3.3 and Google API Level 29
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Unfortunately there is no solution. I had to uninstall delphi 10.3 and install 10.4 This isn't cool because 10.3.3 is ultimately very recent and it can't possibly not support the latest minimal APIs- 20 replies
-
- api
- play store
-
(and 1 more)
Tagged with:
-
share extensin IOS App receive shared web link from Safari and Other apps
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Update I created the group with an administrator profile. Now I tried to do a test by uploading an empty app to the store (instead of mine in delphi) and my real extension. The upload worked so the problem seems to be related to delphi. If in the deployment I also enable embedded.mobieprovisioning then Delphi gives me the error [PAClient Error] Error: E0776 Error Domain=IDEProvisioningErrorDomain Code=9 ""yashare.appex" requires a provisioning profile with the App Groups feature." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="yashare.appex" requires a provisioning profile with the App Groups feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.} If instead I exclude it then Delphi creates the IPA file for me but during loading APPLE gives me this error ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '4WXQVJ6QJ7.it.diesys.youaddict.yashare' for the key 'application-identifier' in 'Payload/YaApp.app/PlugIns/yashare.appex/yashare'." maybe there is something wrong with embedded.mobieprovisioning file or I need to change something in the Delphi deployment, I don’t Know- 31 replies
-
share extensin IOS App receive shared web link from Safari and Other apps
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Hi, I created the Share extension type app in xcode and embedded it into my delphi project. After solving all the problems described above everything works in development and ad hoc. (thanks Dave and special thanks to Allen) But I had to remove the appex "embedded.mobileprovision" from the deployment: In App Store mode When I compile for the app store if I also enter "embedded.mobileprovision" in deployment tthen I get this error. [PAClient Error] Error: E0776 Error Domain=IDEProvisioningErrorDomain Code=9 ""yashare.appex" requires a provisioning profile with the App Groups feature." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="yashare.appex" requires a provisioning profile with the App Groups feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.} I checked the provisionings they are correct,s . both (app and extension) supports group If I disable "embedded.mobileprovision" for appex in deployment then delphi compiles the ipa correctly, however, when I try to upload IPA files to the store I get this error. ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '4WXQVJ6QJ7.it.diesys.youaddict.yashare' for the key 'application-identifier' in 'Payload/YaApp.app/PlugIns/yashare.appex/yashare'." In xcode everything looks fine Extension App- 31 replies
-
Problem with Delphi RIO 10.3.3 and Google API Level 29
Massimiliano S posted a topic in Cross-platform
Hello I need to upload a test app on the google store. Unfortunately, the loading is not successful because Google requires at least a Level 29 for Android 10 as the target of the API while mine is 28. I am using delphi rio 10.3.3 I updated the SDKs by also installing 29 and downloaded the android-ndk-r21d NDK version. I then updated SDK manager set as android-29 target. Unfortunately, delphi always compiles by setting in the manifest: <uses-sdk android: minSdkVersion = "19" android: targetSdkVersion = "28" /> So I forced version 29 in the manifest template but unfortunately the app crashes I read that Delphi RIO theoretically supported the Android 10 version but I could not find anything about my problem other than a 6 month old post with no solution Has anyone found this problem yet? Thanks Massimiliano- 20 replies
-
- api
- play store
-
(and 1 more)
Tagged with:
-
IOS Ad Hoc deploy work only one Device
Massimiliano S replied to Massimiliano S's topic in Cross-platform
Update if I compile in Ad hoc on xCode with the same provisioning it goes to all devices. When I am delphi it can only be installed on mine -
When I compile in ad hoc mode even if the provisioning contains several devices, the app can only be installed on my iPhone while on the others the installation fails. using https://www.diawi.com/ and direct connect for installing app. This did not happen before inserting of a Share Extension made in xCode. Another strange thing, when I do a share somthing with my iPhone and my app I see a notification on my mac's safari When I compile with delphi in ad hoc mode, even if I connect another phone (included in the provisioning), the app is reinstalled on my remote and as a Target device in delphi I have always and only my phone and I cannot remove it. The provisionings are correct (in delphi and xCode) and until yesterday they have always worked, my doubt is that it is something left inside the xCode project but I don't know what. I have searched everywhere. Bye Massimiliano