Jump to content

Eric Bonilha

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

3 Neutral

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Eric Bonilha

    Firebase Push Notification for IOS

    I was able to receive a push notification, but I had to change this line on FMX.PushNotification.FCM.iOS: procedure TFcmPushService.RequestAuthorizationWithOptionsCompletionHandler(granted: Boolean; error: NSError); begin // if not TiOSHelper.SharedApplication.isRegisteredForRemoteNotifications then TiOSHelper.SharedApplication.registerForRemoteNotifications; end; I had to comment out the line "if not TiOSHelper.SharedApplication.isRegisteredForRemoteNotifications then" Not sure why.. but it was not calling registerForRemoteNotifications ever
  2. Eric Bonilha

    Firebase Push Notification for IOS

    That problem I solved, the entitlements was missing: <key>aps-environment</key> <string>development</string> but still, FCM loads with no errors now, but no messages are received.. god...
  3. Eric Bonilha

    Firebase Push Notification for IOS

    Looks like Firebase is failing to initialize with this message: 'no valid “aps-environment” entitlement string found for application' I have selected remote-notification on UIBackgroundModes My provisioning certificate does have Push Notification selected... I don't know what to do
  4. Eric Bonilha

    Firebase Push Notification for IOS

    Hello For the past few days I've been struggling trying to get the new Firebase integration of Delphi 11 (that was added in 10.4) for IOS to work, for Push Notification. Embarcadero really does a very poor job of documentation and sample code.. I'm impossible that they developed and never tested if this works... All the sample codes I found on the internet refer to the use of KastriFree library for FCM for IOS on Delphi, but supposedly, FCM for IOS support was added natively... and I would like to use the native implementation from Delphi instead of the third party library. I believe I have done all steps necessary (There are so many) Basically the iOS application is compiling with FCM successfully and it is starting as I can retrieve the phone Token, that is used to send the notification to.. but when I send notification on Firebase its never received by the phone, not even the test message from Firebase console... My firebase account is correctly linked to APNS using the APNS Key from apple Is there any tutorial on how to use Firebase Push Notification with iOS for Delphi 11 using the NATIVE implementation found on the new unit FMX.PushNotification.FCM.iOS ??
  5. Eric Bonilha

    ShowModal hang/crashes on iOS 15 with iPhone 12 / 13

    Thanks Dave. I don't have an iPhone 12 or 13 to test, I was relying on my customers phones (doing testflights) to try to fix the issue It will be interesting to understand why ShowModal only doesn't work on iPhone 12 and 13, while previous like 11 will work just fine with the same OS version
  6. Eric Bonilha

    Full screen with iOS 15

    Hello I will help you with one of your questions for Monterey I had a huge issue that I needed to recompile my app but I couldn't use XCode 13 on Catalina, so I updated to Monterey and then used XCode 13 (and 13.1 as well for testing) and all deployed applications were crashing... I has to format my mac to original OS, then install Big Sur manually from USB and use XCode 13.0 I would not recommend updating to Monterey. But, I was using Delphi 11. But I tried Delphi 10.4.2 on Monterey with XCode 13 and it gave the same results, the app compiled and deployed but was crashing when starting.. So I guess Monterey is really not supported. Delphi 10.4.2 supports Big Sur as well, so I would update to Big Sur instead of Monterey, then you can use XCode 13
  7. Hello all I got a strange problem with our app.. We use ShowModal (That is supposedly supported by iOS, but even for Android, internally it will use Show because its not supported) to display a form and this has always worked.. Many customers now reported our app will crash on iPhone 12 and 13 with iOS 15.. After debugging I found that ShowModal will hang / crash the app, but ONLY on iPhone 12 and iPhone 13 with IOS 15.. If I try on iPhone 11 or 7 for example using iOS 15 (same version, I tried on 15.0.2 and 15.1) it works fine.. Only crashes on iPhone 12 and 13 Did any of you encounter such issue as well? I solved by not using ShowModal, but only Show,
  8. Eric Bonilha

    Deploy Delphi 11 iOS 15 XCode 13

    Already found out my provisioning profile was expired
  9. Eric Bonilha

    Deploy Delphi 11 iOS 15 XCode 13

    KenR I'm having the same issue with error 0x e8008015: A valid provisioning profile for this executable was not found. How did you solve it?
  10. Eric Bonilha

    iOS 15.1

    Its working now... I had to format my Mac and install Big Sur manually (I was using Monterey).. then I installed XCode 13.0 and now the application works fine
  11. Eric Bonilha

    iOS 15.1

    Dave, thanks... something I didn't mention is that I had to upgrade to Monterey and apparently its not supported by Delphi... I couldn't update to XCode 13 on Catalina, and couldn't upgrade directly to Big Sur, but I found out that I can upgrade manually.. so, I'm formatting my Mac again with original Catalina, then I will upgrade manually to Big Sur and try again..
  12. Eric Bonilha

    iOS 15.1

    KenR, so when you build a blank application and deploy to iOS 15 with XCode 13 from Delphi 11, it crashes as well and doesn't run?
  13. Eric Bonilha

    iOS 15.1

    Same results with iPhone 11... the blank app just crahes when opening.. in fact I can't even debug it because it crashes before Application.Initialize is even called
  14. Eric Bonilha

    iOS 15.1

    I got the same results with XCode 13.0... Blank application is compiled, deployed to the phone, but it crashes when it opens.. I will try on another iphone now
  15. Eric Bonilha

    iOS 15.1

    Ken, I'm using XCode 13.1 Everything in the compilation and deployment goes smooth but when running the application it crashes Dave, Maybe it could be the XCode, but I don't know if I can downgrade to 13.0 from 13.1 as I'm using XCode 13.1 because that is what was available to me.. I noticed that the apps that were previously compiled works on iOS 15.1 but if I try to make a new app, blank form, with this toolchain (Delphi 11, XCode 13.1 for iOS 15.1 on iPhone 7) then the app crashes. I will try on another iPhone just in case and will try to downgrade XCode
×