Jump to content

Massimiliano S

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hi, I have an app that receives web url sharing via intent. When I share from all apps or from any browser, my app receives the content and processes it correctly. If the app is not already open then it is successfully launched. When I share with chrome the app is instead opened in chrome and if the app is already running it stops responding until I close the previous instance already active Here my Manifest template <application android:persistent="%persistent%" android:restoreAnyVersion="%restoreAnyVersion%" android:label="%label%" android:debuggable="%debuggable%" android:largeHeap="%largeHeap%" android:icon="%icon%" android:theme="%theme%" android:usesCleartextTraffic="true" android:hardwareAccelerated="%hardwareAccelerated%" android:resizeableActivity="false"> <%provider%> <%application-meta-data%> <%uses-libraries%> <%services%> <!-- Our activity is a subclass of the built-in NativeActivity framework class. This will take care of integrating with our NDK code. --> <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity" android:label="%activityLabel%" android:configChanges="orientation|keyboard|keyboardHidden|screenSize" android:allowTaskReparenting="true" android:launchMode="singleTask"> <!-- Tell NativeActivity the name of our .so --> <meta-data android:name="android.app.lib_name" android:value="%libNameValue%" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT"/> <data android:mimeType="application/*" /> <data android:mimeType="message/*" /> <data android:mimeType="multipart/*" /> <data android:mimeType="text/*" /> </intent-filter> </activity> <%activity%> <%receivers%> </application> OnCreate of Main Form {$IFDEF ANDROID} ContaIntent := 0; if TPlatformServices.Current.SupportsPlatformService (IFMXApplicationEventService, AppEventService) then AppEventService.SetApplicationEventHandler(HandleAppEvent); MainActivity.registerIntentAction(TJIntent.JavaClass.ACTION_VIEW); MainActivity.registerIntentAction(TJIntent.JavaClass.ACTION_SEND); TMessageManager.DefaultManager.SubscribeToMessage (TMessageReceivedNotification, HandleActivityMessage); {$ENDIF} Thanks
  2. Hi Dave, thank you very much for your reply, you are very kind I confirm that I have not enabled universal binary and that I am compiling only 64 bit I have attached a test application. The PlugIn was done with Visual Studio code 11.4 and SDK 13.5 The delphi project (this test but also the final one) is with Rio 10.3.3. and SDK 13.5 If I compile in delphi the project without plugIn works If I compile the app in xCode with the Share Extension it works If I compile the delphi project with the Share Extension compiles correctly but then the app does not start and says that it needs to be updated Bye Massimiliano yadiesys.zip
  3. Hi Dave, For now I have circumvented the problem of certificates but now I am stuck on another point. I created the extension app in xCode 11.4 on Catalina using SDK 13.5 I used an Ad Hoc profile I copied the PlugIns folder into my delphi 10.3.3 application with SDK 13.5 I tried to compile and install the 64 Bit app as it is and it works added the PlugIns folder with all the sub folders to the deployment using the Deployman.exe tool I compiled the 64 Bit app and delphi compiles correctly I installed the app on the phone but I get the following message: "this app needs to be updated by the developer to work on this version of IOS" Reading on the Internet it would seem linked to the fact that 32-bit apps are no longer supported but I have compiled everything 64-bit and the problem occurs only when I import the PlugIns folder Even in xCode it should compile only 64 Bit if I'm not mistaken Can you give me some advice?
  4. Hi Dave, I have the problem with both Ad Hoc and Store
  5. Hi Dave, I followed your article and created an empty project in xCode with the same BundleID as my delphi project. Then I created a share extension app extension in xcode, I compiled in development mode and everything went well When I set up the ad hoc mode xCode asked me to specify the TeamID. I copied the contents of the PlugIns folder inside my delphi folder and I used your tools to add it to the deployment Unfortunately now when I compile I find myself in front of another obstacle because I receive this message And unfortunately, I have found almost nothing for Tokyo and Rio about this problem. [PAClient Error] Error: E0776 2020-07-16 19:39:51.200 xcodebuild[2174:173287] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/c1/9bp_6p2551799vynm572wy5r0000gn/T/YaApple_2020-07-16_19-39-51.199.xcdistributionlogs'. [PAClient Error] Error: E0776 error: exportArchive: No 'teamID' specified and no team ID found in the archive [PAClient Error] Error: E0776 Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive} has this ever happened to you? I found few posts without solutions When I have overcome this obstacle I will have to understand how to make my app read the data received from the extension
  6. thanks for the information, tomorrow I will try to make tests and then I tell you
  7. Ops sorry <?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>CFBundleName</key> <string>YaApple</string> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleDisplayName</key> <string>YaApple</string> <key>CFBundleIdentifier</key> <string>youaddict.diesys.it</string> <key>CFBundleInfoDictionaryVersion</key> <string>7.1</string> <key>CFBundleVersion</key> <string>1.0.0</string> <key>CFBundleShortVersionString</key> <string>1.0.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>LSRequiresIPhoneOS</key> <string>true</string> <key>CFBundleAllowMixedLocalizations</key> <string>YES</string> <key>CFBundleExecutable</key> <string>YaApple</string> <key>UIDeviceFamily</key> <array> <integer>1</integer> <integer>2</integer> </array> <key>CFBundleResourceSpecification</key> <string>ResourceRules.plist</string> <key>NSLocationAlwaysUsageDescription</key> <string>The reason for accessing the location information of the user</string> <key>NSLocationWhenInUseUsageDescription</key> <string>The reason for accessing the location information of the user</string> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>The reason for accessing the location information of the user</string> <key>FMLocalNotificationPermission</key> <string>false</string> <key>UIBackgroundModes</key> <array> </array> <key>NSContactsUsageDescription</key> <string>The reason for accessing the contacts</string> <key>NSPhotoLibraryUsageDescription</key> <string>The reason for accessing the photo library</string> <key>NSPhotoLibraryAddUsageDescription</key> <string>The reason for adding to the photo library</string> <key>NSCameraUsageDescription</key> <string>The reason for accessing the camera</string> <key>NSFaceIDUsageDescription</key> <string>The reason for accessing the face id</string> <key>NSMicrophoneUsageDescription</key> <string>The reason for accessing the microphone</string> <key>NSSiriUsageDescription</key> <string>The reason for accessing Siri</string> <key>ITSAppUsesNonExemptEncryption</key> <string>false</string> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>CFBundleIconFiles</key> <array> <string>FM_ApplicationIcon_57x57</string> <string>FM_ApplicationIcon_87x87</string> <string>FM_ApplicationIcon_114x114</string> <string>FM_ApplicationIcon_60x60</string> <string>FM_ApplicationIcon_120x120</string> <string>FM_ApplicationIcon_180x180</string> <string>FM_SpotlightSearchIcon_29x29</string> <string>FM_SpotlightSearchIcon_40x40</string> <string>FM_SpotlightSearchIcon_58x58</string> <string>FM_SpotlightSearchIcon_80x80</string> <string>FM_SpotlightSearchIcon_120x120</string> <string>FM_ApplicationIcon_72x72</string> <string>FM_ApplicationIcon_144x144</string> <string>FM_ApplicationIcon_76x76</string> <string>FM_ApplicationIcon_152x152</string> <string>FM_ApplicationIcon_167x167</string> <string>FM_SpotlightSearchIcon_40x40</string> <string>FM_SpotlightSearchIcon_50x50</string> <string>FM_SpotlightSearchIcon_80x80</string> <string>FM_SpotlightSearchIcon_100x100</string> <string>FM_SettingIcon_29x29</string> <string>FM_SettingIcon_58x58</string> </array> <key>UILaunchImages</key> <array> <dict> <key>UILaunchImageSize</key> <string>{320, 480}</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageMinimumOSVersion</key> <string>8.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{320, 568}</string> <key>UILaunchImageName</key> <string>Default-640w-1136h</string> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{320, 568}</string> <key>UILaunchImageName</key> <string>Default-Landscape-640w-1136h</string> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{375, 667}</string> <key>UILaunchImageName</key> <string>Default-750w-1334h</string> <key>UILaunchImageMinimumOSVersion</key> <string>8.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{375, 667}</string> <key>UILaunchImageName</key> <string>Default-Landscape-750w-1334h</string> <key>UILaunchImageMinimumOSVersion</key> <string>8.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{414, 736}</string> <key>UILaunchImageName</key> <string>Default-1242w-2208h</string> <key>UILaunchImageMinimumOSVersion</key> <string>8.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{414, 736}</string> <key>UILaunchImageName</key> <string>Default-Landscape-1242w-2208h</string> <key>UILaunchImageMinimumOSVersion</key> <string>8.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{375, 812}</string> <key>UILaunchImageName</key> <string>Default-1125w-2436h</string> <key>UILaunchImageMinimumOSVersion</key> <string>11.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{375, 812}</string> <key>UILaunchImageName</key> <string>Default-Landscape-1125w-2436h</string> <key>UILaunchImageMinimumOSVersion</key> <string>11.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{414, 896}</string> <key>UILaunchImageName</key> <string>Default-828w-1792h</string> <key>UILaunchImageMinimumOSVersion</key> <string>12.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{414, 896}</string> <key>UILaunchImageName</key> <string>Default-Landscape-828w-1792h</string> <key>UILaunchImageMinimumOSVersion</key> <string>12.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{414, 896}</string> <key>UILaunchImageName</key> <string>Default-1242w-2688h</string> <key>UILaunchImageMinimumOSVersion</key> <string>12.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{414, 896}</string> <key>UILaunchImageName</key> <string>Default-Landscape-1242w-2688h</string> <key>UILaunchImageMinimumOSVersion</key> <string>12.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> </array> <key>UILaunchImages~ipad</key> <array> <dict> <key>UILaunchImageSize</key> <string>{768, 1024}</string> <key>UILaunchImageName</key> <string>Default-Portrait</string> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{768, 1024}</string> <key>UILaunchImageName</key> <string>Default-Landscape</string> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{768, 1024}</string> <key>UILaunchImageName</key> <string>Default-1536w-2048h</string> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{768, 1024}</string> <key>UILaunchImageName</key> <string>Default-Landscape-1536w-2048h</string> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{834, 1112}</string> <key>UILaunchImageName</key> <string>Default-1668w-2224h</string> <key>UILaunchImageMinimumOSVersion</key> <string>10.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{834, 1112}</string> <key>UILaunchImageName</key> <string>Default-Landscape-1668w-2224h</string> <key>UILaunchImageMinimumOSVersion</key> <string>10.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{834, 1194}</string> <key>UILaunchImageName</key> <string>Default-1668w-2388h</string> <key>UILaunchImageMinimumOSVersion</key> <string>12.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{834, 1194}</string> <key>UILaunchImageName</key> <string>Default-Landscape-1668w-2388h</string> <key>UILaunchImageMinimumOSVersion</key> <string>12.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{1024, 1366}</string> <key>UILaunchImageName</key> <string>Default-2048w-2732h</string> <key>UILaunchImageMinimumOSVersion</key> <string>9.0</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> </dict> <dict> <key>UILaunchImageSize</key> <string>{1024, 1366}</string> <key>UILaunchImageName</key> <string>Default-Landscape-2048w-2732h.png</string> <key>UILaunchImageMinimumOSVersion</key> <string>9.0</string> <key>UILaunchImageOrientation</key> <string>Landscape</string> </dict> </array> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key><true/> </dict> <key>UIRequiredDeviceCapabilities</key> <array> <string>arm64</string> </array> <key>CFBundleSupportedPlatforms</key> <array> <string>iPhoneOS</string> </array> <key>CFBundleResourceSpecification</key> <string>ResourceRules.plist</string> <key>MinimumOSVersion</key> <string>8.0</string> <key>DTPlatformName</key> <string>iphoneos</string> <key>DTPlatformBuild</key> <string>16E226</string> <key>DTXcodeBuild</key> <string>10E1001</string> <key>DTSDKBuild</key> <string>16E226</string> <key>CFBundleIdentifier</key> <string>youaddict.diesys.it</string> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>YouAddict</string> <key>CFBundleURLSchemes</key> <array> <string>youaddict://html</string> <string>http://</string> <string>https://</string> <string>http://WebsiteURL</string> <string>https://WebsiteURL</string> </array> </dict> </array> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>IPA</string> <key>LSItemContentTypes</key> <array> <string>public.item</string> <string>public.content</string> <string>public.data</string> <string>public.database</string> <string>public.composite-content</string> <string>public.contact</string> <string>public.archive</string> <string>public.url-name</string> <string>public.text</string> <string>public.plain-text</string> <string>public.source-code</string> <string>public.executable</string> <string>public.script</string> <string>public.shell-script</string> <string>public.xml</string> <string>public.symlink</string> <string>org.gnu.gnu-zip-archve</string> <string>org.gnu.gnu-tar-archive</string> <string>public.image</string> <string>public.movie</string> <string>public.audiovisual-content</string> <string>public.audio</string> <string>public.directory</string> <string>public.folder</string> <string>com.apple.bundle</string> <string>com.apple.package</string> <string>com.apple.plugin</string> <string>com.apple.application-bundle</string> <string>com.pkware.zip-archive</string> <string>public.filename-extension</string> <string>public.mime-type</string> <string>com.apple.ostype</string> <string>com.apple.nspboard-typ</string> <string>com.adobe.pdf</string> <string>com.adobe.postscript</string> <string>com.adobe.encapsulated-postscript</string> <string>com.adobe.photoshop-image</string> <string>com.adobe.illustrator.ai-image</string> <string>com.compuserve.gif</string> <string>com.microsoft.word.doc</string> <string>com.microsoft.excel.xls</string> <string>com.microsoft.powerpoint.ppt</string> <string>com.microsoft.waveform-audio</string> <string>com.microsoft.advanced-systems-format</string> <string>com.microsoft.advanced-stream-redirector</string> <string>com.microsoft.windows-media-wmv</string> <string>com.microsoft.windows-media-wmp</string> <string>com.microsoft.windows-media-wma</string> <string>com.apple.keynote.key</string> <string>com.apple.keynote.kth</string> <string>com.truevision.tga-image</string> </array> <key>CFBundleTypeIconFiles</key> <array> <string>Icon-76@2x</string> </array> </dict> </array> </dict> </plist>
  8. Hi Dave, I did several tests on the info.plist file Now I'm trying with this (but I'm only interested in receiving web links). I see my app when I have to open some files (PDF example) but I don't see my app on the list share from safari or other browsers and apps. Bye Massimiliano <?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> <%VersionInfoPListKeys%> <%ExtraInfoPListKeys%> <key>CFBundleIdentifier</key> <string>youaddict.diesys.it</string> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>YouAddict</string> <key>CFBundleURLSchemes</key> <array> <string>youaddict://html</string> <string>http://</string> <string>https://</string> <string>http://WebsiteURL</string> <string>https://WebsiteURL</string> </array> </dict> </array> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>IPA</string> <key>LSItemContentTypes</key> <array> <string>public.item</string> <string>public.content</string> <string>public.data</string> <string>public.database</string> <string>public.composite-content</string> <string>public.contact</string> <string>public.archive</string> <string>public.url-name</string> <string>public.text</string> <string>public.plain-text</string> <string>public.source-code</string> <string>public.executable</string> <string>public.script</string> <string>public.shell-script</string> <string>public.xml</string> <string>public.symlink</string> <string>org.gnu.gnu-zip-archve</string> <string>org.gnu.gnu-tar-archive</string> <string>public.image</string> <string>public.movie</string> <string>public.audiovisual-content</string> <string>public.audio</string> <string>public.directory</string> <string>public.folder</string> <string>com.apple.bundle</string> <string>com.apple.package</string> <string>com.apple.plugin</string> <string>com.apple.application-bundle</string> <string>com.pkware.zip-archive</string> <string>public.filename-extension</string> <string>public.mime-type</string> <string>com.apple.ostype</string> <string>com.apple.nspboard-typ</string> <string>com.adobe.pdf</string> <string>com.adobe.postscript</string> <string>com.adobe.encapsulated-postscript</string> <string>com.adobe.photoshop-image</string> <string>com.adobe.illustrator.ai-image</string> <string>com.compuserve.gif</string> <string>com.microsoft.word.doc</string> <string>com.microsoft.excel.xls</string> <string>com.microsoft.powerpoint.ppt</string> <string>com.microsoft.waveform-audio</string> <string>com.microsoft.advanced-systems-format</string> <string>com.microsoft.advanced-stream-redirector</string> <string>com.microsoft.windows-media-wmv</string> <string>com.microsoft.windows-media-wmp</string> <string>com.microsoft.windows-media-wma</string> <string>com.apple.keynote.key</string> <string>com.apple.keynote.kth</string> <string>com.truevision.tga-image</string> </array> <key>CFBundleTypeIconFiles</key> <array> <string>Icon-76@2x</string> </array> </dict> </array> </dict> </plist>
  9. I have this problem,I have to make sure that my IO App made with Delphi Rio can appear in the list of apps with which to share a web link.For example if I am on safari and I am visiting a site I want to share this link with my app. I tried adding the management of CFBundleDocumentTypes and CFBundleURLTypes in the info.plist file but unfortunately my app does not appear in the list.Instead, there is the possibility to send the link to whatsapp, email, notes, and many other apps.Once opened my app must capture the link and use it internally.Do you know how I can do it?ThanksMassimiliano
×