User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22

Thread: Active Pictures object: how to remove photo library usage permission

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    1,142
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)

    Active Pictures object: how to remove photo library usage permission

    Hello,

    I'm using Active Pictures object to display images from my server only (for daily news). But for iOS, if we use Active Pictures Object it automatically adds Photo Library Usage permission, even if you don't need it.
    With last version of iOS, the permission dialog box is shown at start, letting players think we want to spy their private photos...

    Is there any way to remove that permission?

    Thank you.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,684
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    in CRunkcpica.h you will find some lines explaining what to do

    /* * Comment following line in case you want to disable use of
    * PHOTO_LIBRARY through action New picture selector
    * To comment add // (two-slash) before line
    */


    #define USE_PHOTO_LIBRARY
    if you comment the #define line by adding // before this line

    no photo library is needed (APO will work with images packed in the cci)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    tk22's Avatar
    Join Date
    Dec 2014
    Posts
    154
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Thank you for asking this! I always wondered what to do regarding this permission dialog box. I am not using any images packed with the cci just through URLs ��

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    1,142
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Thank you for that, i'll use it asap! :p

  5. #5
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    tk22's Avatar
    Join Date
    Dec 2014
    Posts
    154
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Question

    Quote Originally Posted by Fernando View Post
    in CRunkcpica.h you will find some lines explaining what to do



    if you comment the #define line by adding // before this line

    no photo library is needed (APO will work with images packed in the cci)
    I have done this:
    Code:
    //#define USE_PHOTO_LIBRARY
    It caused a lot of errors so I had to comment other things like this:
    Code:
    //    if(imageSelector != nil)
    //    {
    //        [mainViewController dismissViewControllerAnimated:NO];
    //        imageSelector.delegate=nil;
    //        [imageSelector autorelease];
    //        imageSelector = nil;
    //    }
    //    if(popOverController != nil)
    //    {
    //        [popOverController dismissPopoverAnimated:NO];
    //        popOverController.delegate = nil;
    //        [popOverController autorelease];
    //        popOverController = nil;
    //    }
        if(renderToTexture != nil)
        {
            [renderToTexture release];
        }
    I still got this error:
    Code:
    This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
    Any ideas how to fix this? I want to use the active pic object using URL without having to show the "photo library usage permission"

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,684
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Thanks for the report, I will check
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    1,142
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    I used it as fernando specified it, and i have no issue. Maybe you're app is trying to access local files with APO?

  8. #8
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    tk22's Avatar
    Join Date
    Dec 2014
    Posts
    154
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Did you just comment out "//#define USE_PHOTO_LIBRARY" or had to comment out additional parts as well? I am using build R293.10 is that the same for you?

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    1,142
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    I did only what Fernando said, comment define use photo library. I'm also using R293.10. By the way, never got any crash while missing the description, it was just rejected when sending to apple console with the email saying to add the line. To me, something else seems to be wrong/missing.

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,684
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Check that the Photo_library, if present in framework is set as "Do not Embed"
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Question - Memory Usage of Active Object.
    By AlanRuno in forum Android Export Module 2.5
    Replies: 0
    Last Post: 22nd February 2017, 06:46 PM
  2. How do I remove permission: Modify or delete the contents of your SD card?
    By mutantdude in forum Android Export Module 2.5
    Replies: 5
    Last Post: 29th February 2016, 12:45 PM
  3. converting pictures to active pictures
    By andrew36 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 11th September 2013, 04:55 PM
  4. Can't remove Active Picture Object
    By JoKa in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 13th May 2011, 07:51 PM
  5. Attacking active object from TGF2 library
    By kmarshall in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 20th June 2007, 04:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •