Post

Replies

Boosts

Views

Activity

iOS is not receiving push notifications via APNs newly created app using p12
Hello Apple Community, I'm writing to seek your help in resolving an issue that I have been experiencing with push notifications on my newly created iOS app. Recently, I have created another new app from app store connect with push notification settings enabled using P12 certificate (Production & Sandbox SSL certificate) and it is in TestFlight not yet in app store. In that, I am not receiving push notifications from APNs. From the backend that has successfully sent responses to iOS using device token. But from the app side not receiving the push notification. Despite having enabled the notifications in the app settings. I have tested using the Push Hero Mac app by sending push to my app using P12 certificate, Bundle id, Device token and Message and app receiving the push successfully. But not receiving push while sending from backend server developed using c#. Same settings working fine in another app and that push notification was working fine using the p12 certificate. So I have replaced the existing app p12 certificate to the newly created app from the backend to send push notification and it is working fine. I have used below details: Certificate: Production & Sandbox SSL Certificate Port: 2195 gateway: gateway.push.apple.com:443 Mode: Production I have also tried restarting my device and force-quitting the app, but the problem persists. I am not sure what else to do at this point, and it is becoming increasingly frustrating to miss important updates and messages. I would appreciate any advice or solutions that you can offer to help me troubleshoot this issue. Has anyone else experienced this problem before, and if so, how did you resolve it? Thank you in advance for your help.
3
0
1.3k
Mar ’23
App Store Submission Issue: Missing App Icon (1024x1024) Despite Being Included in Asset Catalog
Missing App Icon (1024x1024) Error During App Store Submission Hello everyone, I'm encountering an issue when trying to distribute my iOS app using the Transporter tool. The submission process is blocked by an asset validation error stating: Asset validation failed (90704): Missing app icon. Include a large app icon as a 1024 by 1024 pixel PNG in the asset catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps can't be submitted for review. I’ve tried several workarounds: Added the ForegroundFile and Color properties to the MauiIcon. Resized the image to 1024x1024 and included it in the bundle. Verified the settings in my .csproj file and Info.plist. Despite these efforts, the issue persists. Could anyone provide guidance on what to inspect within the contents of the generated IPA file or suggest any other solutions? I've added the relevant project files and info.plist for reference. Below is the .csproj file: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> <OutputType>Exe</OutputType> <RootNamespace>Mobile</RootNamespace> <UseMaui>true</UseMaui> <SingleProject>true</SingleProject> <ImplicitUsings>enable</ImplicitUsings> <ApplicationTitle>iAMS Mobile</ApplicationTitle> <ApplicationId>com.acsys.acsysmobilemaui</ApplicationId> <ApplicationIdGuid>XXXXXX</ApplicationIdGuid> <ApplicationDisplayVersion>1.1.1</ApplicationDisplayVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion> </PropertyGroup> <PropertyGroup Condition="$(TargetFramework.Contains('-ios'))"> <ApplicationVersion>2.0.024.0812</ApplicationVersion> </PropertyGroup> <PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Release'"> <RuntimeIdentifier>ios-arm64</RuntimeIdentifier> <UseInterpreter>true</UseInterpreter> <!--Added by Sathish on Apr 30 2024: Resolved App random crash issue--> <CodesignKey>Apple Distribution: Acsys Technologies Ltd. (24K9VYD2A5)</CodesignKey> <CodesignProvision>AcsysMobileMAUIAppStore</CodesignProvision> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios|AnyCPU'"> <CreatePackage>false</CreatePackage> <MtouchDebug>true</MtouchDebug> <CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements> <BuildIpa>False</BuildIpa> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'"> <CreatePackage>false</CreatePackage> <CodesignKey>Apple Development: sathishkumar muthusamy (F66HZ6XBT7)</CodesignKey> <CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements> <MtouchLink>None</MtouchLink> <CodesignProvision>AcsysMobileMAUDevelopment</CodesignProvision> <BuildIpa>False</BuildIpa> </PropertyGroup> <ItemGroup> <!-- App Icon --> <MauiIcon Include="Resources\AppIcon/appicon.png" ForegroundFile="Resources\AppIcon/appiconfg.svg" Color="#000000" BaseSize="128,128" Resize="false" /> <!-- Splash Screen --> <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#ffffff" BaseSize="256,256" /> <!-- Images --> <MauiImage Include="Resources\Images\*" /> <MauiFont Include="Resources\AppIcon\Fonts\*" /> </ItemGroup> </Project> Here's the content of the iOS Info.plist file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>LSRequiresIPhoneOS</key> <true/> <key>MinimumOSVersion</key> <string>11.0</string> <key>UIDeviceFamily</key> <array> <integer>1</integer> </array> <key>CFBundlePackageType</key> <string>APPL</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UIUserInterfaceStyle</key> <string>Light</string> <key>UIStatusBarStyle</key> <string>UIStatusBarStyleDarkContent</string> <key>UIViewControllerBasedStatusBarAppearance</key> <true/> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> </array> <key>XSAppIconAssets</key> <string>Assets.xcassets/appicon.appiconset</string> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> <key>NSBluetoothAlwaysUsageDescription</key> <string>Required to enable BLE functionalities</string> <key>NSBluetoothPeripheralUsageDescription</key> <string>Required to enable BLE functionalities</string> <key>NSCameraUsageDescription</key> <string>Required to access your camera for Open/Close image verification</string> <key>NSPhotoLibraryAddUsageDescription</key> <string>This app needs access to the photo gallery for picking photos and videos.</string> <key>NSPhotoLibraryUsageDescription</key> <string>Required to Access Photo Library</string> <key>NSFaceIDUsageDescription</key> <string>Acsys Mobile requires Face ID to unlock the app</string> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>Acsys Mobile requires GPS to get site location</string> <key>NSLocationAlwaysUsageDescription</key> <string>Acsys Mobile requires GPS to get site location</string> <key>UIBackgroundModes</key> <array> <string>fetch</string> <string>remote-notification</string> <string>audio</string> </array> <key>CFBundleIdentifier</key> <string>com.acsys.acsysmobilemaui</string> <key>CFBundleDisplayName</key> <string>iAMS Mobile</string> <key>LSApplicationQueriesSchemes</key> <array> <string>mailto</string> </array> <key>ITSAppUsesNonExemptEncryption</key> <false/> <key>XIEnableUITracking</key> <false/> <key>NSMicrophoneUsageDescription</key> <string>We need access to the microphone to play sound for notifications.</string> <key>UIApplicationSupportsIndirectInputEvents</key> <true/> </dict> </plist> Thank you for your help! Environment: macOS Sonoma 14.5 Xcode 15.4 Visual Studio Code Version 1.92.2 .NET MAUI Additional Information: This issue has been blocking my app submission for several days, and any assistance would be greatly appreciated.
1
0
366
Aug ’24